### Question:
RoleStore { public List<Role> findAll() { List<Role> result = new ArrayList<>(); try (Connection connect = CON.getConnect(); Statement st = connect.createStatement(); ResultSet rstSet = st.executeQuery(QUERIES.getProperty("findAllRoles"))) { while (rstSet.next()) { Role role = new Role(rstSet.getString("role")); role.setId(rstSet.getInt("id")); result.add(role); } } catch (SQLException e) { LOG.error(e.getMessage(), e); } return result; }  int add(Role role); List<Role> findAll(); Role findById(int id); boolean delete(int id); boolean update(int id, Role role); int findRoleId(Role role); List<User> findUsersByRole(Role role);  }### Answer:
@Test public void findAll() { testStore.add(new Role("test")); testStore.add(new Role("test2")); assertTrue(testStore.findAll().containsAll(asList(new Role("test"), new Role("test2")))); }