public void before(Object testInstance, Method testMethod) throws Exception
{
Validate.notNull(testInstance, "TestInstance must be specified");
Validate.notNull(testMethod, "TestMethod must be specified");
TestContext testContext = contextLifecycle.createRestoreTestContext(testInstance);
try
{
testContext.fire(new Before(testInstance, testMethod));
}
finally
{
activeContext.push(testContext);
}