예제 #1
0
 private void AssertFileWritten(string name)
 {
     Filesystem.AssertWasCalled(x => x.WriteFile(Arg <string> .Matches(n => n.EndsWith(name)), Arg <string> .Is.Anything, Arg <bool> .Is.Anything));
 }
예제 #2
0
        public void reads_files_that_match_setting_for_extension()
        {
            RunTestWithExtensions(".feature");

            FakeFilesystem.AssertWasCalled(x => x.GetFileText("feature.feature"));
        }