### Question:
UserId { public int getRegisterDate() { return registerDate; } UserId(String userName);  UserId(String userName, int registerDate);  UserId(String userName, int registerDate, byte[] internal); byte[] getInternal(); String getUserName(); int getRegisterDate(); @SuppressWarnings("deprecation") final String toString(); final String convertToString(); @Override int hashCode(); @Override boolean equals(Object obj); final static UserId valueOf(String userIdString); final static UserId fromString(String userIdString); final static UserId fromBytes(byte[] bytes);  }### Answer:
@Test public void testCompareUserId() throws Exception { UserId userId = new UserId("test001"); for ( int i=0; i<100; i++ ) { UserId actual = new UserId("test001"); assertEquals(userId.getRegisterDate(), actual.getRegisterDate()); } }