public void should_be_make_a_cop() { var cop = new PassengerFactory().MakePassenger(EPassengerType.PoliceOfficer); cop.GetPassengerType().Should().Be(EPassengerType.PoliceOfficer); cop.DriverPerform().Should().BeTrue(); }
public void should_be_make_a_stewardess() { var cop = new PassengerFactory().MakePassenger(EPassengerType.Stewardess); cop.GetPassengerType().Should().Be(EPassengerType.Stewardess); cop.DriverPerform().Should().BeFalse(); }
public void should_be_make_a_cabin_chief() { var cop = new PassengerFactory().MakePassenger(EPassengerType.CabinChief); cop.GetPassengerType().Should().Be(EPassengerType.CabinChief); cop.DriverPerform().Should().BeTrue(); }
public void should_be_make_a_flight_officer() { var cop = new PassengerFactory().MakePassenger(EPassengerType.FlightOfficer); cop.GetPassengerType().Should().Be(EPassengerType.FlightOfficer); cop.DriverPerform().Should().BeFalse(); }
public void should_be_make_a_prisoner() { var cop = new PassengerFactory().MakePassenger(EPassengerType.Prisoner); cop.GetPassengerType().Should().Be(EPassengerType.Prisoner); cop.DriverPerform().Should().BeFalse(); }