Represents a resource file
Exemplo n.º 1
0
 public void IfEmptyNameThenJustValueShouldBeReturned()
 {
     var res = new Resource("value", String.Empty);
     Assert.That(res.ToString(), Is.EqualTo("\"value\""));
 }
Exemplo n.º 2
0
 public void ShouldCreateQuotedString()
 {
     var res = new Resource("value", "name");
     Assert.That(res.ToString(), Is.EqualTo("\"value\",name"));
 }
Exemplo n.º 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"));
 }