Person1 person1 = new Person1();
person1.setFamilyName("Ganga");
person1.setSecondFamilyName("Chacon");
Person2 result = mapper.map(person1, Person2.class);
assertNotNull(result);
assertEquals("Ganga", result.getPersonNames().get(0).getFamilyName());
assertEquals("Chacon", result.getPersonNames().get(1).getFamilyName());
}