Jwc.Experiment.Xunit.StaticTestCaseCommandContext.StaticTestCaseCommandContext C# (CSharp) Method

StaticTestCaseCommandContext() public method

Initializes a new instance of the StaticTestCaseCommandContext class.
public StaticTestCaseCommandContext ( IMethodInfo testMethod, IMethodInfo actualMethod, ISpecimenBuilderFactory factory, IEnumerable arguments ) : System
testMethod IMethodInfo /// A test method. ///
actualMethod IMethodInfo /// A actual method. ///
factory ISpecimenBuilderFactory /// A factory to create test fixture. ///
arguments IEnumerable /// Explicit arguments of the actual method. ///
return System
        public StaticTestCaseCommandContext(
            IMethodInfo testMethod,
            IMethodInfo actualMethod,
            ISpecimenBuilderFactory factory,
            IEnumerable<object> arguments)
            : base(factory, arguments)
        {
            if (testMethod == null)
                throw new ArgumentNullException("testMethod");

            if (actualMethod == null)
                throw new ArgumentNullException("actualMethod");

            this.testMethod = testMethod;
            this.actualMethod = actualMethod;
        }