public BaseMockRepository() { _client = new ServiceClient(); if (_mapper == null) { var config = new MapperConfiguration(cfg => cfg.AddProfile <EntitiesToMockMappingProfile>()); _mapper = config.CreateMapper(); } }
public static void StartUp(TestContext context) { client = new ServiceClient(); }