### Question:
CollisionResult { @Override public String toString() { return new StringBuilder(MIN_LENGHT).append(getClass().getSimpleName()) .append(" [x=") .append(x) .append(", y=") .append(y) .append(", fx=") .append(formulaX.getName()) .append(", fy=") .append(formulaY.getName()) .append("]") .toString(); } CollisionResult(Double x, Double y, Tile tile, CollisionFormula formulaX, CollisionFormula formulaY); Double getX(); Double getY(); Tile getTile(); boolean startWithX(String name); boolean startWithY(String name); boolean contains(String name); @Override String toString();  }### Answer:
@Test void testToString() { assertEquals("CollisionResult [x=1.0, y=2.0, fx=formulaX, fy=formulaY]", new CollisionResult(Double.valueOf(1.0), Double.valueOf(2.0), new TileGame(1, 3, 4, 1, 1), formulaX, formulaY).toString()); }