Exemplo n.º 1
0
        public PresenterProfileCell(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale)
        {
            _view       = view ?? throw new ArgumentNullException("View cannot be a null!");
            _interactor = interactor ?? throw new ArgumentNullException("Interactor cannot be a null!");

            _themeHolder = themes;
            _locale      = locale;
        }
Exemplo n.º 2
0
 public void ConstructorPositiveTest(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale, string testName)
 {
     var presenter = new PresenterProfileCell(view, interactor, themes, locale);
 }
Exemplo n.º 3
0
 public void ConstructorNegativeTest(IProfileCellView view, IInteractorProfileCell interactor, IProfileCellStylesHolder themes, IProfileCellLocale locale, string testName)
 {
     Assert.Throws(typeof(ArgumentNullException), () =>
     {
         var presenter = new PresenterProfileCell(view, interactor, themes, locale);
     });
 }