* @return customer created
*/
public Customer createCustomerWithAddresses() {
createCountry();
createState();
CustomerAddress ca1 = new CustomerAddressImpl();
Address address1 = new AddressImpl();
address1.setAddressLine1("1234 Merit Drive");
address1.setCity("Bozeman");
address1.setPostalCode("75251");
ca1.setAddress(address1);
ca1.setAddressName("address1");
CustomerAddress caResult = createCustomerWithAddress(ca1);
assert caResult != null;
assert caResult.getCustomer() != null;
Customer customer = caResult.getCustomer();
CustomerAddress ca2 = new CustomerAddressImpl();
Address address2 = new AddressImpl();
address2.setAddressLine1("12 Testing Drive");
address2.setCity("Portland");
address2.setPostalCode("75251");
ca2.setAddress(address2);
ca2.setAddressName("address2");
ca2.setCustomer(customer);
CustomerAddress addResult = saveCustomerAddress(ca2);
assert addResult != null;
return customer;
}