Examples of Example2DomainObject1


Examples of de.zalando.sprocwrapper.example.Example2DomainObject1

    @Test
    public void testResourcesWithNumbers2() {

        // force cache load
        Example2DomainObject1 output = exampleSProcService.getExample2EntityWithNumbers1();
        assertNotNull(output);
        assertEquals("example2field1", output.getExample2Field1());

        Example2DomainObject2 object2 = output.getExample2Field2();
        assertNotNull(object2);
        assertEquals("example2complexfield1", object2.getExample2Field1());
        assertEquals("example2complexfield2", object2.getExample2Field2());

        // drop sproc an types and create them again
        // execute again
        output = exampleSProcService.getExample2EntityWithNumbers1();

        assertNotNull(output);
        assertEquals("example2field1", output.getExample2Field1());

        object2 = output.getExample2Field2();
        assertNotNull(object2);
        assertEquals("example2complexfield1", object2.getExample2Field1());
        assertEquals("example2complexfield2", object2.getExample2Field2());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.