public void LoginCommandExecuted_ModelLoginReturnsTrue_MessageServiceShowErrorNotCalled()
        {
            _model.Login("", "").ReturnsForAnyArgs(true);
            _uut.LoginCommand.Execute(null);

            _messageService.DidNotReceiveWithAnyArgs().ShowError("");
        }
Ejemplo n.º 2
0
        public void RegisterCommandExecuted_CollectorCreateUserReturnsTrue_MessageServiceShowErrorNotCalled()
        {
            _collector.CreateUser("", "").ReturnsForAnyArgs(true);
            _sut.RegisterCommand.Execute(null);

            _messageService.DidNotReceiveWithAnyArgs().ShowError("");
        }