Package de.zalando.sprocwrapper.example

Examples of de.zalando.sprocwrapper.example.Example1DomainObject2


    @Test
    public void testResourcesWithNumbers1() {
        Example1DomainObject1 input = new Example1DomainObject1();
        input.setExample1Field1("example1field1");

        Example1DomainObject2 input2 = new Example1DomainObject2();
        input2.setExample1Field1("example1complexfield1");
        input2.setExample1Field2("example1complexfield2");
        input.setExample1Field2(input2);

        Example1DomainObject1 output = exampleSProcService.getExample1EntityWithNumbers1(input);
        assertNotNull(output);
        assertEquals("example1field1", output.getExample1Field1());

        Example1DomainObject2 object2 = output.getExample1Field2();
        assertNotNull(object2);
        assertEquals("example1complexfield1", object2.getExample1Field1());
        assertEquals("example1complexfield2", object2.getExample1Field2());
    }
View Full Code Here

TOP

Related Classes of de.zalando.sprocwrapper.example.Example1DomainObject2

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.