Examples of ExampleDomainObjectWithEmbed


Examples of de.zalando.sprocwrapper.example.ExampleDomainObjectWithEmbed

            null);
    }

    @Test
    public void testReturnDomainObjectWithEmbed() {
        ExampleDomainObjectWithEmbed result = exampleSProcService.getEntityWithEmbed();
        assertNotNull(result);
        assertEquals("x", result.getX());

        ExampleDomainObject y = result.getY();
        assertNotNull(y);
        assertEquals("a", y.getA());
        assertEquals("b", y.getB());
    }
View Full Code Here

Examples of de.zalando.sprocwrapper.example.ExampleDomainObjectWithEmbed

        assertEquals("b", y.getB());
    }

    @Test
    public void testReturnDomainObjectWithEmbedEmptyString() {
        ExampleDomainObjectWithEmbed result = exampleSProcService.getEntityWithEmbedEmptyString();
        assertNotNull(result);
        assertEquals("x", result.getX());

        ExampleDomainObject y = result.getY();
        assertNotNull(y);
        assertNull(y.getA());
        assertEquals("", y.getB());
    }
View Full Code Here

Examples of de.zalando.sprocwrapper.example.ExampleDomainObjectWithEmbed

        assertEquals("", y.getB());
    }

    @Test
    public void testReturnDomainObjectWithEmbedNullFields() {
        ExampleDomainObjectWithEmbed result = exampleSProcService.getEntityWithEmbedNullFields();
        assertNotNull(result);
        assertEquals("x", result.getX());

        ExampleDomainObject y = result.getY();
        assertNotNull(y);
        assertNull(y.getA());
        assertNull(y.getB());
    }
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.