### Question:
AddressStore { public List<Address> findAll() { List<Address> result = new ArrayList<>(); try (Connection connect = CON.getConnect(); Statement st = connect.createStatement()) { try (ResultSet rstSet = st.executeQuery(QUERIES.getProperty("findAllAddress"))) { while (rstSet.next()) { result.add(new Address(rstSet.getString("address"))); } } } catch (SQLException e) { LOG.error(e.getMessage(), e); } return result; }  boolean add(int userId, Address address); List<Address> findAll(); Address findById(int id); boolean delete(int id); boolean update(int id, Address address); int findId(Address address);  }### Answer:
@Test public void findAll() { this.testStore.add(-1, new Address("test")); this.testStore.add(-2, new Address("test2")); assertTrue(this.testStore.findAll().containsAll(asList(new Address("test"), new Address("test2")))); }