TestActionItem
TestActionItem represents a single execution of an
ITestAction. It is used to track whether the BeforeTest
method has been called and suppress calling the
AfterTest method if it has not.
Construct a TestActionItem
Run the AfterTest action, but only if the BeforeTest
action was actually run.
Run the BeforeTest method of the action and remember that it has been run.