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)); }
public void reads_files_that_match_setting_for_extension() { RunTestWithExtensions(".feature"); FakeFilesystem.AssertWasCalled(x => x.GetFileText("feature.feature")); }