Exemplo n.º 1
0
        public void Setup()
        {
            _session = new HappyPathInMemorySession();
            _mappingEngine = Substitute.For<IMappingEngine>();

            _personService = new PersonService(_session, _mappingEngine);
        }
Exemplo n.º 2
0
 public PersonService(IHappyPathSession session, IMappingEngine mapper)
 {
     _session = session;
     _mapper = mapper;
 }