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