SessionInfo { public void setUsername(String username) { this.username = username; } SessionInfo();  SessionInfo(String id, String username); String getId(); void setId(String id); String getUsername(); void setUsername(String username); int getWsNumber(); void setWsNumber(int ws); void incWsNumber(); void decWsNumber();  }
@Test public void testSetUsername() { System.out.println("setUsername"); instance.setUsername("USERNAME2"); String result = instance.getUsername(); assertThat(result).isEqualTo("USERNAME2"); }