public void SetUp() { SmeedeeApp.Instance.ServiceLocator.Bind <IBackgroundWorker>(new NoBackgroundInvocation()); fakeService = new UnitTests.Fakes.FakeLatestCommitsService(); countingService = new CallCountingLatestCommitsService(); fakePersistence = new FakePersistenceService(); SmeedeeApp.Instance.ServiceLocator.Bind <ILatestCommitsService>(fakeService); SmeedeeApp.Instance.ServiceLocator.Bind <IPersistenceService>(fakePersistence); model = new LatestCommits(); }
public void SetUp() { SmeedeeApp.Instance.ServiceLocator.Bind<IBackgroundWorker>(new NoBackgroundInvocation()); fakeService = new UnitTests.Fakes.FakeLatestCommitsService(); countingService = new CallCountingLatestCommitsService(); fakePersistence = new FakePersistenceService(); SmeedeeApp.Instance.ServiceLocator.Bind<ILatestCommitsService>(fakeService); SmeedeeApp.Instance.ServiceLocator.Bind<IPersistenceService>(fakePersistence); model = new LatestCommits(); }