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