示例#1
0
        public void Should_finished_when_terminal_is_empty()
        {
            var boss   = BossFake.Default();
            var pillot = PilotFake.Default();

            var officialOne = OfficialFake.Default();
            var officialTwo = OfficialFake.Default();

            var stewardessOne = StewardessFake.Default();
            var stewardessTwo = StewardessFake.Default();

            var cop      = CopFake.Default();
            var prisoner = PrisonerFake.Default();

            _smartForTwo.AddPassenger(cop);
            _airplane.AddPassengers(boss, pillot, officialTwo, officialOne, stewardessOne, stewardessTwo, prisoner);

            var result = _airplaneService.AllPassengersOnThePlane();

            result.Should().NotBeNullOrEmpty();
            result.Should().Be("Ready to take flight!");
        }