public void Add_Should_StoreAircraftTypeInDatabase_When_Called()
        {
            var oldCount = _aircraftTypeService.GetAll().Count;

            _aircraftTypeService.Add(_type);
            var newCount = _aircraftTypeService.GetAll().Count;

            Assert.Greater(newCount, oldCount);
        }
 public void Add_Should_CallRepositoryCreate_When_Called()
 {
     _aircraftTypeService.Add(_type1DTO);
     A.CallTo(() => _fakeUnitOfWork.Set <AircraftType>().Create(A <AircraftType> .That.IsInstanceOf(typeof(AircraftType)), null)).MustHaveHappenedOnceExactly();
 }