Example #1
0
 protected void SetUp()
 {
     Log            = new LogImpl();
     PictureStorage = new TestPictureStorage();
     Queue          = new TestablePictureRequestsQueue(Log, PictureStorage);
     Executor       = new TestMainExecutor();
     Controller     = new PictureRequestControllerImpl(Log, Executor, Queue);
 }
 protected void SetUp()
 {
     Log                   = new LogImpl();
     Executor              = new TestMainExecutor();
     ProfileRepo           = new TestProfileRepository();
     GetCurrentUserProfile = new GetCurrentUserProfile(Log, ProfileRepo);
     Presenter             = new ProfilePagePresenterImpl(Executor, Log, GetCurrentUserProfile);
     PresenterNavigation   = new TestPresenterNavigation();
     ProfileRepo.Registry.Add(SourceProfileInstance);
 }