@Test public void testParkingOneCompact() { Car compact = new Car(COMPACT, "abc123"); Ticket ticket = parkingGarage.getAttendant().generateTicketAndOpenGate(compact); assertNotNull(ticket.getId()); assertEquals(COMPACT, ticket.getTypeOfCar()); assertEquals("1", ticket.getLevelId()); Receipt receipt = parkingGarage.getAttendant().acceptPaymentAndOpenGate(ticket, null); verifyReceipt(receipt, ticket); }
public Attendant getAttendant() { return attendant; }
ParkingGarage { public Attendant getAttendant() { return attendant; } }
ParkingGarage { public Attendant getAttendant() { return attendant; } ParkingGarage(); }
ParkingGarage { public Attendant getAttendant() { return attendant; } ParkingGarage(); Attendant getAttendant(); }
ParkingGarage { public Attendant getAttendant() { return attendant; } ParkingGarage(); Attendant getAttendant();  }