public void Setup() { _session = new HappyPathInMemorySession(); _mappingEngine = Substitute.For<IMappingEngine>(); _personService = new PersonService(_session, _mappingEngine); }
public PersonService(IHappyPathSession session, IMappingEngine mapper) { _session = session; _mapper = mapper; }