public TwitterFriendsSearcherForm() { InitializeComponent(); var increaseFollowersService = ObjectFactory.GetInstance<IIncreaseFollowersService>(); presenter = new TwitterFriendsSearcherPresenter(this, increaseFollowersService); }
public void SetUp() { view = MockRepository.GenerateMock<ITwitterFriendsSearcherView>(); increaseFollowersService = MockRepository.GenerateMock<IIncreaseFollowersService>(); presenter = new TwitterFriendsSearcherPresenter(view, increaseFollowersService); }