public void SetupContext() { var viewer = new ContextViewer(); var dictionary = new Dictionary<Type, object>(); _testMappingContext = new TestMappingContext(); dictionary.Add(typeof(TestMappingContext), _testMappingContext); View = viewer.Create(dictionary); }
protected object GetContexts() { return _debugContexts ?? (_debugContexts = new ContextViewer().Create(_scenarioContext.Contexts)); }