public void ValidationForeignId_Should_ReturnTrue_When_TypeExists() { A.CallTo(() => _fakeUnitOfWork.Set <AircraftType>().Get(null)).Returns(new List <AircraftType> { _plane1.AircraftType }); var result = _aircraftService.ValidationForeignId(_plane1DTO); Assert.IsTrue(result); }