TestMethod public class TestMethod : Test The TestMethod class represents a Test implemented as a method. Documentation public TestMethod(IMethodInfo method) Initializes a new instance of the TestMethod class. public TestMethod(IMethodInfo method, Test parentSuite) Initializes a new instance of the TestMethod class.