public void IsExists_ShouldReturnDepartureDto_When_DepartureExists() { A.CallTo(() => _fakeUnitOfWork.DepartureRepository.Get(_departureId)).Returns(new List <Departure> { _departure }); var result = _departureService.IsExist(_departureId); Assert.AreEqual(_departureDTO, result); }