public void Should_ContextManager_initialize_TestThreadContext_when_constructed() { var contextManager = CreateContextManager(); TestThreadContext result = contextManager.TestThreadContext; result.Should().NotBeNull(); result.Should().BeSameAs(TestThreadContainer.Resolve <TestThreadContext>()); }
public void Should_expose_the_test_thread_container() { TestThreadContext result = ContextManagerStub.TestThreadContext; result.Should().NotBeNull(); result.TestThreadContainer.Should().BeSameAs(TestThreadContainer); }