protected override void GivenThat() { base.GivenThat(); _dependencyToSeeIfTwitterIsOnline = new DependencyToSeeIfTwitterIsOnline(); _dependencyForTwitterDatabaseRepository = new DependencyForDatabaseRepository(); }
public TwitterServiceWithConcreteDependencies (DependencyToSeeIfTwitterIsOnline dependencyTwitterWeb, DependencyForDatabaseRepository dependencyForDatabaseRepository) { _dependencyTwitterWeb = dependencyTwitterWeb; _dependencyForDatabaseRepository = dependencyForDatabaseRepository; }