public void IsExists_ShouldReturnAircraftDto_WhenAircraftExists() { A.CallTo(() => _fakeUnitOfWork.AircraftRepository.Get(_aircraftId)).Returns(new List <Aircraft> { _plane1 }); var result = _aircraftService.IsExist(_aircraftId); Assert.AreEqual(_plane1DTO, result); }