AsyncTest.ReflectedTaskPatternActionDescriptorTest.ShouldImplement_AsyncActionDescriptor C# (CSharp) Method

ShouldImplement_AsyncActionDescriptor() private method

private ShouldImplement_AsyncActionDescriptor ( ) : void
return void
        public void ShouldImplement_AsyncActionDescriptor()
        {
            var actionMethod = typeof(TaskController).GetMethod("MethodReturningTask");

            var subjectUnderTest = new ReflectedTaskPatternActionDescriptor(actionMethod, null);

            Assert.IsInstanceOf<AsyncActionDescriptor>(subjectUnderTest);
        }