public void RandomMessage() { var steps = new FileStep(); steps.GivenIHaveThisFile("big_mystery.txt", "Why do people keep asking the gender of someone who not even talks?" ); steps.WhenICallTheInterpreterForFile(@"big_mystery.txt"); steps.ThenIWillHaveTheseAnswers("I have no idea what you are talking about"); steps.ThenIWillHaveNoConversions(); steps.ThenIWillHaveNoThingValues(); }
public void FileWithWrongAlienRomanCreditSpecifications() { var steps = new FileStep(); steps.GivenIHaveThisFile("towel.txt" , "glob is I" , "tegj is L" , "glob tegj Silver is 34 Credits" ); steps.WhenICallTheInterpreterForFile(@"towel.txt"); steps.ThenIWillHaveTheseAnswers("Not in roman numbers format: 'IL'"); steps.ThenIWillHaveTheseConversions( Tuple.Create("glob", "I"), Tuple.Create("tegj", "L") ); steps.ThenIWillHaveNoThingValues(); }