Beispiel #1
0
        public async Task When_Passing_Null_Then_Exception_Is_Thrown()
        {
            // ARRANGE
            InitializeFakeObjects();

            // ACT && ASSERT
            await Assert.ThrowsAsync <ArgumentNullException>(() => _getResourceSetAction.Execute(null));
        }
Beispiel #2
0
 public Task <ResourceSet> GetResourceSet(string id)
 {
     return(_getResourceSetAction.Execute(id));
 }