protected override void Context() { _concern = new Concern(typeof(Context_with_concern).GetConcernName()); _concern.AddContextFor(typeof(Context_with_concern)); _testFixtureType = typeof(Context_with_some_other_concern); }
protected override void Because() { _method = delegate { _concern.AddContextFor(_testFixtureType); }; _exception = _method.GetException(); }
protected override void Context() { _concern = new Concern(typeof(SomeConcern)); _concern.AddContextFor(typeof(Context_with_concern)); _concern.AddContextFor(typeof(Context_with_same_concern)); }