@Test public void testToString() { assertEquals(String.format("Car(id=%s)", id), car.toString()); }
@Override public String toString() { return String.format("Car(id=%s)", getId()); }
Car extends InventoryItem { @Override public String toString() { return String.format("Car(id=%s)", getId()); } }
Car extends InventoryItem { @Override public String toString() { return String.format("Car(id=%s)", getId()); } Car(UUID id); protected  Car(); }
Car extends InventoryItem { @Override public String toString() { return String.format("Car(id=%s)", getId()); } Car(UUID id); protected  Car(); @Override String toString(); }
Car extends InventoryItem { @Override public String toString() { return String.format("Car(id=%s)", getId()); } Car(UUID id); protected  Car(); @Override String toString();  }