* @throws IntrospectionException
*/
public void testGetValues() throws IntrospectionException {
System.out.println("Test " + getName());
Contact contact = new Contact();
MailExporter exporter = new MailExporter(contact);
contact.setAddress1("address1");
contact.setAddress2("address2");
Country australia = new Country("AU", "Australia");
contact.setCountry(australia);
contact.setEmail("email");
contact.setFax("fax");
contact.setFirstName("firstName");
contact.setIdContact(9999999L);
contact.setLastName("lastName");
contact.setLocality("locality");
contact.setMobile("mobile");
contact.setNote("note");
contact.setPositionOccupied("positionOccupied");
contact.setPostalCode("postalCode");
contact.setStateAddress("stateAddress");
contact.setTitle("title");
contact.setWorkPhone("workPhone");
exporter.setModel(contact);
assertEquals(
"\"address1\",\"address2\",\"Australia\",\"email\",\"fax\","
+ "\"firstName\",9999999,\"lastName\","
+ "\"locality\",\"mobile\",\"firstName, lastName[9999999]\","
+ "\"note\",\"positionOccupied\",\"postalCode\",\"stateAddress\","
+ "\"title\",\"workPhone\"", exporter.getValues());
Contact volunteer = new Volunteer();
volunteer.setAddress1("address1");
volunteer.setAddress2("address2");
volunteer.setCountry(australia);
volunteer.setEmail("email");
volunteer.setFax("fax");
volunteer.setFirstName("firstName");
volunteer.setIdContact(9999999L);
volunteer.setLastName("lastName");
volunteer.setLocality("locality");
volunteer.setMobile("mobile");
volunteer.setNote("note");
volunteer.setPositionOccupied("positionOccupied");
volunteer.setPostalCode("postalCode");
volunteer.setStateAddress("stateAddress");
volunteer.setTitle("title");
volunteer.setWorkPhone("workPhone");
exporter.setModel(volunteer);
assertEquals(
"\"address1\",\"address2\",\"Australia\",\"email\",\"fax\","
+ "\"firstName\",9999999,\"lastName\","
+ "\"locality\",\"mobile\",\"firstName, lastName[9999999]\","