user1.setSurname("Doe");
user1.setGender(User.Gender.MALE);
user1.setAge(22);
user1.setAccountIds(Arrays.asList(1, 2));
Address address1 = new Address();
address1.setStreet("Main Street");
address1.setPostCode("X1234");
user1.setAddresses(Collections.singletonList(address1));
User user2 = new User();
user2.setId(2);
user2.setName("Spider");
user2.setSurname("Man");
user2.setGender(User.Gender.MALE);
user2.setAccountIds(Collections.singletonList(3));
Address address2 = new Address();
address2.setStreet("Old Street");
address2.setPostCode("Y12");
Address address3 = new Address();
address3.setStreet("Bond Street");
address3.setPostCode("ZZ");
user2.setAddresses(Arrays.asList(address2, address3));
User user3 = new User();
user3.setId(3);
user3.setName("Spider");