public void Initialize() { service = new Mock <RosterService>(); mapper = MappingConfig.Mapper.CreateMapper(); facade = new TeammateSearchFacade(service.Object, mapper); }
/// <summary> /// Constructor for dependency injection /// </summary> /// <param name="searchFacade">Facade encapsulating people search activities within the domain services</param> public TeamController(TeammateSearchFacade searchFacade) { this.searchFacade = searchFacade; }