public void CorrectlyExcludeMethods(string methodName, bool include)
        {
            // Arrange
            IMethodFilter sut = new HasNullableParametersWithoutNullDefaults();
            Type type = GetType();
            MethodInfo method = type.GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Static);

            // Act
            bool actual = sut.ExcludeMethod(type, method);

            // Assert
            Assert.Equal(include, actual);
        }
        public void CorrectlyExcludeMethods(string methodName, bool include)
        {
            // Arrange
            IMethodFilter sut    = new HasNullableParametersWithoutNullDefaults();
            Type          type   = GetType();
            MethodInfo    method = type.GetMethod(methodName, BindingFlags.NonPublic | BindingFlags.Static);

            // Act
            bool actual = sut.ExcludeMethod(type, method);

            // Assert
            Assert.Equal(include, actual);
        }
 public void ReturnName(HasNullableParametersWithoutNullDefaults sut)
 {
     Assert.Equal("HasNullableParametersWithoutNullDefaults", sut.Name);
 }
 public void ReturnName(HasNullableParametersWithoutNullDefaults sut)
 {
     Assert.Equal("HasNullableParametersWithoutNullDefaults", sut.Name);
 }