public void ShouldNotBePossibleToAddNULL() { //Given StoryRunner storyRunner = new StoryRunner(null); //When storyRunner.AddStory <object>(null); }
public void ShouldNotBePossibleToAddNULL() { //Given StoryRunner storyRunner = new StoryRunner(null); //When storyRunner.AddStory<object>(null); }
public void SHouldNotBePossibleToAddStringAsStory() { //Given StoryRunner storyRunner = new StoryRunner(Assembly.GetAssembly(this.GetType())); string story = "Ths is not a story"; //When storyRunner.AddStory(story); //Then // we get an exception }
public void SHouldNotBePossibleToAddStringAsStory() { //Given StoryRunner storyRunner = new StoryRunner(Assembly.GetAssembly(this.GetType())); string story = "Ths is not a story"; //When storyRunner.AddStory(story); //Then // we get an exception }
public void ShouldRunStory() { //Given FakeStory story = new FakeStory(); StoryRunner storyRunner = new StoryRunner(); storyRunner.AddStory(story); //When storyRunner.Run(); //Then Assert.IsTrue(story.didCallRun); }
public void ShouldRunStory() { //Given FakeStory story = new FakeStory(); StoryRunner storyRunner = new StoryRunner(); storyRunner.AddStory(story); //When storyRunner.Run(); //Then Assert.IsTrue(story.didCallRun); }