Exemplo n.º 1
0
        public void ConvertToModel_Should_ReturnModel_When_Called()
        {
            A.CallTo(() => _fakeMapper.Map <DTO.Flight, Flight>(_flightDTO)).Returns(_flight);
            var result = _flightService.ConvertToModel(_flightDTO);

            Assert.AreEqual(_flight, result);
        }