### Question:
MusicTypeStore { public int add(MusicType type) { int typeId = 0; if (!this.findAll().contains(type)) { try (Connection connect = CON.getConnect(); PreparedStatement st = connect.prepareStatement(QUERIES.getProperty("addMusicType"))) { st.setString(1, type.getType()); try (ResultSet rstSet = st.executeQuery()) { if (rstSet.next()) { typeId = rstSet.getInt("id"); } } } catch (SQLException e) { LOG.error(e.getMessage(), e); } } return typeId; }  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 add() { this.testStore.add(new MusicType("test6")); assertTrue(this.testStore.findAll().contains(new MusicType("test6"))); }