public void should_raise_UserUnfollowed_when_user_is_unfollowed()
        {
            const int userId = 3;

            var increaseFollowersService = new IncreaseFollowersService(makingFriendsService, usersSearcher);

            var isUserUnfollowedRaised = false;
            increaseFollowersService.UserUnfollowed += (sender, args) => { isUserUnfollowedRaised = true; };

            makingFriendsService.Raise(x => x.UserUnfollowed += null, this, new UserEventArgs(userId));

            Assert.IsTrue(isUserUnfollowedRaised);
        }
        public void should_grab_users_by_name_and_start_making_friends_process()
        {
            const string keywords = "TDD course";
            var usersForKeywords = new List<int> { 1, 2, 3 };

            var increaseFollowersService = new IncreaseFollowersService(makingFriendsService, usersSearcher);

            usersSearcher.Stub(x => x.Find(keywords)).Return(usersForKeywords);

            increaseFollowersService.IncreaseByKeywords(keywords);

            makingFriendsService.AssertWasCalled(x => x.MakeFriendsWith(usersForKeywords));
        }