### Question:
UserEntity { public String getPassword() { return mPassword; } @Ignore  UserEntity(String userName, String password);  UserEntity(@NonNull String id, String userName, String password); String getId(); String getUserName(); String getPassword();  }### Answer:
@Test public void getPassword() { UserEntity ue = new UserEntity( userName, pass); UserEntity ue2 = new UserEntity( id, userName, pass); assertNotNull(ue.getPassword()); assertNotNull(ue2.getPassword()); assertEquals( ue.getPassword(), pass); assertEquals( ue2.getPassword(), pass); }