public void simple_file_creeation_builds_proper_object() { const string FILE_NAME = @"test.txt"; var fileRef = FileRef.Create(FILE_NAME); fileRef.ShouldNotBeNull(); fileRef.Name.ShouldBe(FILE_NAME); }
public void invalid_characters_in_file_name_shall_throw_exceptions_during_creation_of_automated_refs(string fName) { FileRef reff; Should.Throw <ArgumentException>(() => reff = FileRef.Create(fName)); }