@Test public void testUserInfo() { assertEquals(userInfo.getEmail(), email); assertEquals(userInfo.getFirstName(), firstName); assertEquals(userInfo.getLastName(), lastName); assertEquals(userInfo.getUserId(), userId); assertEquals(userInfo.getUsername(), username); assertEquals(userInfo.getPassword(), password); assertTrue(userInfo.toString().contains(email)); assertTrue(userInfo.toString().contains(firstName)); assertTrue(userInfo.toString().contains(lastName)); assertTrue(userInfo.toString().contains(userId)); assertTrue(userInfo.toString().contains(username.toString())); assertFalse(userInfo.toString().contains(password)); }
protected UserInfo() { super(); }
UserInfo { protected UserInfo() { super(); } }
UserInfo { protected UserInfo() { super(); } protected  UserInfo(); }
UserInfo { protected UserInfo() { super(); } protected  UserInfo(); Username getUsername(); void setUsername(Username username); String getPassword(); void setPassword(String password); String getUserId(); void setUserId(String userId); String getFirstName(); void setFirstName(String firstName); String getLastName(); void setLastName(String lastName); String getEmail(); void setEmail(String email); static Builder newInstance(Username username); static Builder from(Username username); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
UserInfo { protected UserInfo() { super(); } protected  UserInfo(); Username getUsername(); void setUsername(Username username); String getPassword(); void setPassword(String password); String getUserId(); void setUserId(String userId); String getFirstName(); void setFirstName(String firstName); String getLastName(); void setLastName(String lastName); String getEmail(); void setEmail(String email); static Builder newInstance(Username username); static Builder from(Username username); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }