m.marshal(customer, writer);
}
@Test
public void shouldMarshallAListOfCustomers() throws JAXBException {
Customers13 customers = new Customers13();
customers.add(new Customer13("John", "Smith", "jsmith@gmail.com", "1334565"));
customers.add(new Customer13("John", "Smith", "jsmith@gmail.com", "1334565"));
StringWriter writer = new StringWriter();
JAXBContext context = JAXBContext.newInstance(Customers13.class);
Marshaller m = context.createMarshaller();
m.marshal(customers, writer);
}