예제 #1
0
 public void SetUp()
 {
     _mocker = new AutoMoqer();
     _socApp = _mocker.Create<SocApp>();
     _postStore = _mocker.GetMock<IPostStore>();
     _followStore = _mocker.GetMock<IFollowStore>();
 }
예제 #2
0
 public void SetUp()
 {
     PostStore = new TestablePostStore();
     FollowStore = new TestableFollowStore();
     SocApp = new SocApp(PostStore, FollowStore, PostFormatter);
 }