Exemplo n.º 1
0
        public async Task When_Passing_Null_Parameter_Then_Exception_Is_Thrown()
        {
            // ARRANGE
            InitializeFakeObjects();

            // ACT & ASSERT
            await Assert.ThrowsAsync <ArgumentNullException>(() => _insertScopeAction.Execute(null));
        }
Exemplo n.º 2
0
 public Task <bool> InsertScope(AddScopeParameter addScopeParameter)
 {
     return(_insertScopeAction.Execute(addScopeParameter));
 }