### Question:
User { public String getUsername() { return username; } User();  User(String username, String password);  User(String username, String password, String facilityCode);  User(String username, String password, String facilityCode, String facilityName); String getUsername(); String getPassword(); @Override boolean equals(Object o); @Override int hashCode(); String encodeCredentialsForBasicAuthorization(); String getFacilityCode(); void setFacilityCode(String facilityCode); String getFacilityName(); void setFacilityName(String facilityName);  }### Answer:
@Test public void testShouldBeAbleToCRUD() throws Exception { assertThat(userDao.countOf(), is(0l)); User user = new User("admin", "district"); user = userDao.create(user); assertThat(user.getUsername(), is("admin")); assertThat(userDao.countOf(), is(1l)); }