Exemplo n.º 1
0
        public void ConvertToModel_Should_ReturnModel_When_Called()
        {
            A.CallTo(() => _fakeMapper.Map <DTO.Aircraft, Aircraft>(_plane1DTO)).Returns(_plane1);
            var result = _aircraftService.ConvertToModel(_plane1DTO);

            Assert.AreEqual(_plane1, result);
        }