Package com.prancingdonkey.model.jaxb

Examples of com.prancingdonkey.model.jaxb.Friend


    @Test
    public void testJaxb() throws Exception
    {
        MuleClient muleClient = new MuleClient(muleContext);

        Friend friend = new Friend();
        friend.setName("John");
        friend.setSurname("Doe");

        MuleMessage result = muleClient.send("vm://jaxb-simple.in", friend, null);
        assertThat(result, is(notNullValue()));
        assertThat(result.getPayload(), is(notNullValue()));
        assertThat(result.getPayload(), is(instanceOf(Friend.class)));
View Full Code Here

TOP

Related Classes of com.prancingdonkey.model.jaxb.Friend

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.