### Question:
AddressStore { public boolean delete(int id) { boolean result = false; try (Connection connect = CON.getConnect(); PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("deleteAddress"))) { st.setInt(1, id); result = st.executeUpdate() > 0; } 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 delete() { this.testStore.add(-1, new Address("test")); assertTrue(this.testStore.delete(-1)); assertFalse(this.testStore.delete(-1)); assertNull(this.testStore.findById(-1)); }