/// <summary> /// Creates an instance of the test class. /// </summary> /// <param name="type">Type of the test to instantiate.</param> /// <param name="arguments">The arguments.</param> /// <returns>An instance of test class.</returns> public static new LiveTest Instantiate(Type type, params object[] arguments) { return(LiveTest.Intercept(type, new LiveTestWithArgumentSubstitution())); }
/// <summary> /// Instantiates the test class. /// </summary> /// <param name="testType">Type of the test class.</param> /// <param name="arguments">The arguments.</param> /// <returns>Instance of the test class.</returns> public static new LiveTest Instantiate(Type testType, params object[] arguments) { return(LiveTest.Intercept(testType, (LiveTest)Activator.CreateInstance(testType))); }