Example #1
0
        public GetCategoryDetailQueryHandlerTest()
        {
            _mockCategoryRepository = RepositoryMock.MockAsyncCategoryRepository();

            var configurationProvider = new MapperConfiguration(cfg =>
            {
                cfg.AddProfile <MappingProfile>();
            });

            _mapper = new Mapper(configurationProvider);
        }