public TestStateManager(object specification)
{
TestType = specification.GetType();
Givens = new PairList<Delegate, string>();
Whens = new PairList<Delegate, string>();
Thens = new PairList<MethodInfo, StatedThen>();
_teardownMethods = new List<after>();
TestRunManager.CurrentTestRun.AddTest(this, specification.GetType());
}