Example #1
0
        private IMapper <Application.Employee, Employee> CreateEmployeeMapperMock()
        {
            IMapper <Application.Employee, Employee> mapper = Substitute.For <IMapper <Application.Employee, Employee> >();

            mapperFactory.CreateEmployeeMapper().Returns(mapper);
            return(mapper);
        }