Package org.apache.isis.core.tck.dom.poly

Examples of org.apache.isis.core.tck.dom.poly.StringableEntityWithOwnProperties


        final StringableEntityWithOwnProperty object = newTransientInstance(StringableEntityWithOwnProperty.class);
        return object;
    }

    public StringableEntityWithOwnProperties newPolyInterfaceImplB() {
        final StringableEntityWithOwnProperties object = newTransientInstance(StringableEntityWithOwnProperties.class);
        return object;
    }
View Full Code Here


        final Empty match = new EmptyEntityWithOwnProperty();
        final List<Empty> matches = factory.allEmptyInterfacesThatMatch(match);
        assertEquals(1, matches.size());

        final Empty empty = matches.get(0);
        final StringableEntityWithOwnProperties imp = (StringableEntityWithOwnProperties) empty;
        assertEquals(IMPL_B_STRING, imp.getString());
    }
View Full Code Here

        final StringableEntityWithOwnProperties imp = (StringableEntityWithOwnProperties) empty;
        assertEquals(IMPL_B_STRING, imp.getString());
    }

    private void cannotFindByMatchWithWrongValue() {
        final StringableEntityWithOwnProperties match = new StringableEntityWithOwnProperties();
        match.setInteger(0);
        final List<Empty> matches = factory.allEmptyInterfacesThatMatch(match);
        assertEquals(0, matches.size());
    }
View Full Code Here

TOP

Related Classes of org.apache.isis.core.tck.dom.poly.StringableEntityWithOwnProperties

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.