Represents a resource file
示例#1
0
 public void IfEmptyNameThenJustValueShouldBeReturned()
 {
     var res = new Resource("value", String.Empty);
     Assert.That(res.ToString(), Is.EqualTo("\"value\""));
 }
示例#2
0
 public void ShouldCreateQuotedString()
 {
     var res = new Resource("value", "name");
     Assert.That(res.ToString(), Is.EqualTo("\"value\",name"));
 }
示例#3
0
 public void CreateShouldBuildProperly()
 {
     var res = new Resource("value", "name");
     Assert.That(res.Identifier, Is.EqualTo("name"));
     Assert.That(res.FilePath, Is.EqualTo("value"));
 }