/// <summary> /// Includes to configuration two of the default TestMethodGenerator(<see cref="NullArgumentMethodTestMethodGenerator"/>, <see cref="NullArgumentConstructorTestMethodGenerator"/>). /// </summary> /// <param name="configurator">The instance of configuration.</param> /// <returns>The instance of configuration.</returns> public static ITestMethodGeneratorConfigurator IncludeBuiltinGenerators(this ITestMethodGeneratorConfigurator configurator) { var testGeneratorConfigurator = configurator as TestMethodGeneratorConfigurator; configurator.AddGenerator<NullArgumentMethodTestMethodGenerator>() .AddGenerator<NullArgumentConstructorTestMethodGenerator>(); return configurator; }
/// <summary> /// Includes <see cref="NullArgumentMethodTestMethodGenerator"/> to configuration. /// </summary> /// <param name="configurator">The instance of configuration.</param> /// <returns>The instance of configuration.</returns> public static ITestMethodGeneratorConfigurator IncludeNullArgumentMethodTestMethodGenerator(this ITestMethodGeneratorConfigurator configurator) { configurator.AddGenerator<NullArgumentMethodTestMethodGenerator>(); return configurator; }