### Question:
Car { public String toString() { return "Car [" + "make=" + make + ", manufacturer=" + manufacturer + ", id=" + id + "]"; }  String getMake(); @XmlElement void setMake(String make); String getManufacturer(); @XmlElement void setManufacturer(String manufacturer); String getId(); @XmlAttribute void setId(String id); String toString();  }### Answer:
@Test public void testToString() { car.setMake("Passat"); car.setManufacturer("Volkswagen"); car.setId("ABC-123"); assertEquals("Car [make=Passat, manufacturer=Volkswagen, id=ABC-123]", car.toString()); }