Examples of echoBean()


Examples of echo.Echo.echoBean()

        Echo echoComponent = node.getService(Echo.class, "EchoComponentWithReference");
        TestBean bean = new TestBean();
        bean.setTestInt(1);
        bean.setTestString("123");
        bean.setStringArray(Arrays.asList("A", "B"));
        TestBean result = echoComponent.echoBean(bean);
        Assert.assertEquals(bean, result);
    }

    @Test
    public void testInvokeReferenceVoidOperation() throws Exception {
View Full Code Here

Examples of echo.Echo.echoBean()

        Echo echoComponent = node.getService(Echo.class, ECHO_COMPONENT_WITH_REFERENCE);
        TestBean bean = new TestBean();
        bean.setTestInt(1);
        bean.setTestString("123");
        bean.setStringArray(Arrays.asList("A", "B"));
        TestBean result = echoComponent.echoBean(bean);
        Assert.assertEquals(bean, result);
    }

    @Test
    public void testInvokeReferenceVoidOperation() throws Exception {
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.