@Test public void testGetId() { car.setId("ABC-123"); assertEquals("ABC-123", car.getId()); }
public String getId() { return id; }
Car { public String getId() { return id; } }
Car { public String getId() { return id; }  }
Car { public String getId() { return id; }  String getMake(); @XmlElement void setMake(String make); String getManufacturer(); @XmlElement void setManufacturer(String manufacturer); String getId(); @XmlAttribute void setId(String id); String toString(); }
Car { public String getId() { return id; }  String getMake(); @XmlElement void setMake(String make); String getManufacturer(); @XmlElement void setManufacturer(String manufacturer); String getId(); @XmlAttribute void setId(String id); String toString();  }