}
@Test
public void test() throws NoSuchFieldException, SecurityException, IllegalArgumentException, IllegalAccessException
{
AddressEntityWithList p = new AddressEntityWithList();
p.setAddressId("addr1");
p.setCity("noida");
p.setStreet("street");
AddressEntityWithList subaddress = new AddressEntityWithList();
subaddress.setAddressId("subaddr1");
p.setCity("noida");
p.setStreet("sector 50");
List<AddressEntityWithList> subaddresses = new ArrayList<AddressEntityWithList>(1);