use of com.example.customerservice.SaveCustomer in project camel by apache.
the class SoapCxfClientTest method testRoundTripSaveCustomer.
@Test
public void testRoundTripSaveCustomer() throws Exception {
Customer testCustomer = new Customer();
testCustomer.setName("testName");
SaveCustomer request = new SaveCustomer();
request.setCustomer(testCustomer);
customerService.saveCustomer(request);
Customer customer2 = serverBean.getLastSavedCustomer();
Assert.assertEquals("testName", customer2.getName());
}
Aggregations