Esempio n. 1
0
 public CountUseCase(ICountPresenter presenter, ICountRepository repository)
 {
     this.presenter  = presenter;
     this.repository = repository;
     disposables     = new CompositeDisposable();
     counter         = new CountUpBr(Constants.MaxCount);
 }
 public void SetUpTest()
 {
     view      = new CountViewMock();
     presenter = new CountPresenter(view);
 }
 void ConstructUseCases(ICountPresenter presenter, ICountRepository repository)
 {
     usecase = new CountUseCase(presenter, repository);
 }