public void SetUp() { downloader = new FakeHttpFetcher("foo"); app.ServiceLocator.Bind<IFetchHttp>(downloader); app.ServiceLocator.Bind<IBackgroundWorker>(new NoBackgroundInvocation()); app.ServiceLocator.Bind<IPersistenceService>(new FakePersistenceService()); app.ServiceLocator.Bind<ILog>(new FakeLogService()); service = new LatestCommitsService(); }
public void SetUp() { downloader = new FakeHttpFetcher("foo"); app.ServiceLocator.Bind <IFetchHttp>(downloader); app.ServiceLocator.Bind <IBackgroundWorker>(new NoBackgroundInvocation()); app.ServiceLocator.Bind <IPersistenceService>(new FakePersistenceService()); app.ServiceLocator.Bind <ILog>(new FakeLogService()); service = new LatestCommitsService(); }
public void SetUp() { downloader = new FakeHttpFetcher("foo"); SmeedeeApp.Instance.ServiceLocator.Bind<IFetchHttp>(downloader); SmeedeeApp.Instance.ServiceLocator.Bind<IBackgroundWorker>(new NoBackgroundInvocation()); SmeedeeApp.Instance.ServiceLocator.Bind<IPersistenceService>(new FakePersistenceService()); SmeedeeApp.Instance.ServiceLocator.Bind<IValidationService>(new FakeValidationService()); SmeedeeApp.Instance.ServiceLocator.Bind<ILog>(new FakeLogService()); service = new BuildStatusService(); }
public void SetUp() { downloader = new FakeHttpFetcher("foo"); SmeedeeApp.Instance.ServiceLocator.Bind <IFetchHttp>(downloader); SmeedeeApp.Instance.ServiceLocator.Bind <IBackgroundWorker>(new NoBackgroundInvocation()); SmeedeeApp.Instance.ServiceLocator.Bind <IPersistenceService>(new FakePersistenceService()); SmeedeeApp.Instance.ServiceLocator.Bind <IValidationService>(new FakeValidationService()); SmeedeeApp.Instance.ServiceLocator.Bind <ILog>(new FakeLogService()); service = new BuildStatusService(); }