public TestResultNotifier(IBrowserHost browser, IBrowserStackService browserStackService, ITraceListener traceListener, IConfigurationProvider configurationProvider) { _browser = browser; _browserStackService = browserStackService; _traceListener = traceListener; _configurationProvider = configurationProvider; }
public void SetUp() { _browser = Substitute.For <IBrowserHost>(); _browserStackService = Substitute.For <IBrowserStackService>(); _traceListener = Substitute.For <ITraceListener>(); _configurationProvider = Substitute.For <IConfigurationProvider>(); _sut = Substitute.ForPartsOf <TestResultNotifier>(_browser, _browserStackService, _traceListener, _configurationProvider); }
public BrowserConfigurationParser(IBrowserStackService browserStackService) { _browserStackService = browserStackService; }
public void SetUp() { _browserStackService = Substitute.For <IBrowserStackService>(); _sut = new BrowserConfigurationParser(_browserStackService); }