public void returns_different_context_after_ShutDown() { var context = TestSession.SessionContext("foo"); TestSession.ShutDown(); Assert.That(context, Is.Not.SameAs(TestSession.SessionContext("foo"))); }
protected void BeforeAll() { _eventBus = StorEvilEvents.Bus; _sessionContext = TestSession.SessionContext(GetType().Assembly.Location).GetContextForStory(); _interpreter = TestSession.GetInterpreter(GetType().Assembly.Location); _scenarioLineExecuter = new ScenarioLineExecuter(_interpreter, _eventBus); }
public void returns_same_context_for_multiple_calls() { var context = TestSession.SessionContext("foo"); Assert.That(context, Is.SameAs(TestSession.SessionContext("foo"))); }