int addressId = (Integer) testObjects.get("addressId");
MessageProcessor flow = lookupFlowConstruct("get-customer-address");
MuleEvent response = flow.process(getTestEvent(testObjects));
CustomerAddressEntityItem address = (CustomerAddressEntityItem) response.getMessage().getPayload();
assertNotNull(address);
assertTrue(addressId == address.getCustomer_address_id());
}
catch (Exception e) {
e.printStackTrace();
fail();
}