public void RegisterFlightAndRetriveIt() { // Arrange var firstFlight = new Flight(flightName); // Act _controlTower.RegisterFlight(firstFlight); var flightLoaded = _controlTower.GetFlight(flightName); // Assert flightLoaded.Should().Be(firstFlight); }
public IFlight GetFlight(string flightName) { return(_controlTower.GetFlight(flightName)); }
public void ThenTheFlightCalledCanBeRetrivedOnSystem(string flightName) { var flightFound = _currentControlTower.GetFlight(flightName); flightFound.Should().NotBeNull(); }