@Test public void testToString() throws Exception { assertEquals(String.format("RaceSimulationResult(results=%s, finished=%s)", cars, finished), result.toString()); }
@Override public String toString() { return String.format("RaceSimulationResult(results=%s, finished=%s)", results, finished); }
RaceSimulationResult implements LobbyEvent { @Override public String toString() { return String.format("RaceSimulationResult(results=%s, finished=%s)", results, finished); } }
RaceSimulationResult implements LobbyEvent { @Override public String toString() { return String.format("RaceSimulationResult(results=%s, finished=%s)", results, finished); } RaceSimulationResult(List<CarSimulationResult> results, boolean finished); }
RaceSimulationResult implements LobbyEvent { @Override public String toString() { return String.format("RaceSimulationResult(results=%s, finished=%s)", results, finished); } RaceSimulationResult(List<CarSimulationResult> results, boolean finished); List<CarSimulationResult> getResults(); boolean isFinished(); boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
RaceSimulationResult implements LobbyEvent { @Override public String toString() { return String.format("RaceSimulationResult(results=%s, finished=%s)", results, finished); } RaceSimulationResult(List<CarSimulationResult> results, boolean finished); List<CarSimulationResult> getResults(); boolean isFinished(); boolean equals(Object other); @Override int hashCode(); @Override String toString();  }