@Test public void getMechanic() throws Exception { assertEquals(mechanic, configuration.getMechanic()); }
public Mechanic getMechanic() { return mechanic; }
CarConfiguration { public Mechanic getMechanic() { return mechanic; } }
CarConfiguration { public Mechanic getMechanic() { return mechanic; } CarConfiguration(Car car, Engine engine, Driver driver, Mechanic mechanic,
                            Aerodynamicist aerodynamicist, Strategist strategist); }
CarConfiguration { public Mechanic getMechanic() { return mechanic; } CarConfiguration(Car car, Engine engine, Driver driver, Mechanic mechanic,
                            Aerodynamicist aerodynamicist, Strategist strategist); Car getCar(); Engine getEngine(); Driver getDriver(); Mechanic getMechanic(); Aerodynamicist getAerodynamicist(); Strategist getStrategist(); boolean equals(Object other); @Override int hashCode(); @Override String toString(); }
CarConfiguration { public Mechanic getMechanic() { return mechanic; } CarConfiguration(Car car, Engine engine, Driver driver, Mechanic mechanic,
                            Aerodynamicist aerodynamicist, Strategist strategist); Car getCar(); Engine getEngine(); Driver getDriver(); Mechanic getMechanic(); Aerodynamicist getAerodynamicist(); Strategist getStrategist(); boolean equals(Object other); @Override int hashCode(); @Override String toString();  }