Пример #1
0
        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);
        }
Пример #2
0
 protected object GetContexts()
 {
     return _debugContexts ?? (_debugContexts = new ContextViewer().Create(_scenarioContext.Contexts));
 }