public void Setup() { var fakeRepository = MockRepository.GenerateStub<IMapperRepository>(); _mapper = new TypeMapper(fakeRepository); _dummyA = new DummyA { Name = "dummy A", Family = "family A", Age = 37 }; _dummyB = new DummyB { Name = "dummy A", Family = "family A", Age = 37 }; _dummyC = new DummyC { Name = "dummy A", Family = "family A", Address = null }; }
public void Setup() { var fakeRepository = MockRepository.GenerateStub <IMapperRepository>(); _mapper = new TypeMapper(fakeRepository); _dummyA = new DummyA { Name = "dummy A", Family = "family A", Age = 37 }; _dummyB = new DummyB { Name = "dummy A", Family = "family A", Age = 37 }; _dummyC = new DummyC { Name = "dummy A", Family = "family A", Address = null }; }