public void SetupContext()
 {
     var mapper = new StoryContextFactory();
     mapper.AddContext<TestMappingContext>();
     StoryContext = mapper.GetContextForStory(new Story("", "", new IScenario[] {}));
 }
        public void Should_Map_By_ContextAttribute()
        {
            var story = new Story("context test", "context test", new List<IScenario>());

            var mapper = new StoryContextFactory();
            mapper.AddContext<TestMappingContext>();

            var context = mapper.GetContextForStory(story);
            context.ImplementingTypes.First().ShouldEqual(typeof (TestMappingContext));
        }