### Question:
MusicTypeStore { public boolean delete(int id) { boolean result = false; try (Connection connect = CON.getConnect(); PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("deleteType"))) { st.setInt(1, id); result = st.executeUpdate() > 0; } catch (SQLException e) { LOG.error(e.getMessage(), e); } return result; }  int add(MusicType type); int findTypeId(MusicType type); List<MusicType> findAll(); MusicType findById(int id); boolean delete(int id); boolean update(int id, MusicType type);  }### Answer:
@Test public void delete() { this.testStore.add(new MusicType("test6")); int id = this.findIdByType(new MusicType("test6")); assertTrue(this.testStore.delete(id)); assertFalse(this.testStore.delete(id)); }