Created
March 14, 2011 17:38
-
-
Save codereflection/869520 to your computer and use it in GitHub Desktop.
I haz a song stuck in mah head
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Establish context = () => | |
| { | |
| fileName = @"some path\\20110303_Executions_US.CSV"; | |
| fileSystem.GetFileName(fileName).Returns(@"20110303_Executions_US.CSV"); | |
| records = new[] | |
| { | |
| new SixOughtSixFileMap { Instruction = "combo no 1" }, | |
| new SixOughtSixFileMap { Instruction = "two" }, | |
| new SixOughtSixFileMap { Instruction = "three" }, | |
| new SixOughtSixFileMap { Instruction = "four" }, | |
| new SixOughtSixFileMap { Instruction = "five" }, | |
| new SixOughtSixFileMap { Instruction = "everybody like a Chinese }," }, | |
| new SixOughtSixFileMap { Instruction = "steamed or fried." }, | |
| new SixOughtSixFileMap { Instruction = "from the tiny restaurant around the corner" }, | |
| new SixOughtSixFileMap { Instruction = "so you say you" }, | |
| new SixOughtSixFileMap { Instruction = "want some wanton soup with your order" } | |
| }; | |
| importEngine.ReadFile(fileName).Returns(records); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment