Example #1
0
 public void Initilaze()
 {
     _twitterService = new Mock <ITwitterService>();
     _repository     = new PostTwitterRepository(_twitterService.Object);
     _tweet          = new Mock <ITweet>();
     _tweets         = new Mock <List <ITweet> >();
 }
Example #2
0
        public void SetUp()
        {
            _serviceTwitter = new TwitterService();
            _repository     = new PostTwitterRepository(_serviceTwitter);
            _service        = new PostService(_repository);

            _post = ObjectMother.GetPost();
        }