public void IsSdkMethod_ReturnsTrue_IfMethodHasSdkParameterAttributes()
        {
            // Arrange
            Mock <IFunctionIndex> indexMock = new Mock <IFunctionIndex>();
            FunctionIndexer       product   = CreateProductUnderTest();

            // Act
            bool actual = product.IsSdkMethod(typeof(FunctionIndexerTests).GetMethod("MethodWithSdkParameterAttributes"));

            // Verify
            Assert.Equal(true, actual);
        }
        public void IsSdkMethod_ReturnsFalse_IfMethodHasNoSdkAttributes()
        {
            // Arrange
            Mock <IFunctionIndex> indexMock = new Mock <IFunctionIndex>();
            FunctionIndexer       product   = CreateProductUnderTest();

            // Act
            bool actual = product.IsSdkMethod(typeof(FunctionIndexerTests).GetMethod("MethodWithUnboundOutParameterAndNoSdkAttribute"));

            // Verify
            Assert.Equal(false, actual);
        }
        public void IsSdkMethod_ReturnsFalse_IfMethodHasUnresolvedGenericParameter()
        {
            // Arrange
            Mock <IFunctionIndex> indexMock = new Mock <IFunctionIndex>();
            FunctionIndexer       product   = CreateProductUnderTest();

            // Act
            bool actual = product.IsSdkMethod(typeof(FunctionIndexerTests).GetMethod("MethodWithGenericParameter"));

            // Verify
            Assert.Equal(false, actual);
        }