### Question:
AddressStore { public Address findById(int id) { Address result = null; try (Connection connect = CON.getConnect(); PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("findAddressById"))) { st.setInt(1, id); try (ResultSet rstSet = st.executeQuery()) { if (rstSet.next()) { result = 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 findById() { this.testStore.add(-1, new Address("test")); assertThat(this.testStore.findById(-1), is(new Address("test"))); }