public void Before() { chain.Before(CreateAction("abc", 0)); chain.Before(CreateAction("def", 1)); chain.Before(CreateAction("ghi", 2)); chain.Action("key", 42); AssertTraceEquals("key,42: ghi,2", "key,42: def,1", "key,42: abc,0"); }
public void Before() { chain.Before(CreateAction("abc")); chain.Before(CreateAction("def")); chain.Before(CreateAction("ghi")); chain.Action("key"); AssertTraceEquals("key: ghi", "key: def", "key: abc"); }
public void UnbindTestParameter(PatternTestInstanceState testInstanceState, object value) { unbindTestParameterChain.Action(testInstanceState, value); }
public void Dispose() { teardown.Action(); }