@Test public void testToString() throws Exception { assertEquals(String.format("Chat(team=%s, message=%s)", team, message), chat.toString()); }
@Override public String toString() { return String.format("Chat(team=%s, message=%s)", team, message); }
Chat implements LobbyInboundMessage { @Override public String toString() { return String.format("Chat(team=%s, message=%s)", team, message); } }
Chat implements LobbyInboundMessage { @Override public String toString() { return String.format("Chat(team=%s, message=%s)", team, message); } Chat(Team team, String message); }
Chat implements LobbyInboundMessage { @Override public String toString() { return String.format("Chat(team=%s, message=%s)", team, message); } Chat(Team team, String message); Team getTeam(); String getMessage(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
Chat implements LobbyInboundMessage { @Override public String toString() { return String.format("Chat(team=%s, message=%s)", team, message); } Chat(Team team, String message); Team getTeam(); String getMessage(); @Override boolean equals(Object other); @Override int hashCode(); @Override String toString();  }