Examples of SpanLastRecord


Examples of org.apache.camel.dataformat.bindy.model.simple.spanLastRecord.SpanLastRecord

        template.sendBody("direct:unmarshal", "1,hei,kommentar");

        assertMockEndpointsSatisfied();

        final List<Map<?, SpanLastRecord>> rows = CastUtils.cast(mock.getReceivedExchanges().get(0).getIn().getBody(List.class));
        final SpanLastRecord order = rows.get(0).get(SpanLastRecord.class.getName());

        assertEquals(1, order.getRecordId());
        assertEquals("hei", order.getName());
        assertEquals("kommentar", order.getComment());
    }
View Full Code Here

Examples of org.apache.camel.dataformat.bindy.model.simple.spanLastRecord.SpanLastRecord

        template.sendBody("direct:unmarshal", "1,hei,kommentar,test,noe,hei");

        assertMockEndpointsSatisfied();

        final List<Map<?, SpanLastRecord>> rows = CastUtils.cast(mock.getReceivedExchanges().get(0).getIn().getBody(List.class));
        final SpanLastRecord order = rows.get(0).get(SpanLastRecord.class.getName());

        assertEquals(1, order.getRecordId());
        assertEquals("hei", order.getName());
        assertEquals("kommentar,test,noe,hei", order.getComment());
    }
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.