public FeedActionControllerFactory(IUserRepository repository)
 {
     _postActionController = new PostActionController (repository);
     _followActionController = new FollowActionController (repository);
     _wallActionController = new WallActionController (repository);
     _readActionController = new ReadActionController (repository);
 }
		public FeedActionControllerFactory(IUserRepository repository)
		{
			_postActionController = new PostActionController (repository);
			_followActionController = new FollowActionController (repository);
			_wallActionController = new WallActionController (repository);
			_readActionController = new ReadActionController (repository);
		}
 public void Init()
 {
     User firstUser = new User ("mcarmen");
     User secondUser = new User ("rob");
     User thirdUser = new User ("arthur");
     firstUser.Follow (secondUser);
     _userRepositoryMock = new Mock<IUserRepository> ();
     _userRepositoryMock.Setup (x => x.GetUser (firstUser.Name)).Returns (firstUser);
     _userRepositoryMock.Setup (x => x.GetUser (secondUser.Name)).Returns (secondUser);
     _userRepositoryMock.Setup (x => x.GetUser (thirdUser.Name)).Returns (thirdUser);
     _followController = new FollowActionController (_userRepositoryMock.Object);
 }