コード例 #1
0
 public void ContainerMustBeASupersetOfContained()
 {
     var attribute = new GetAttribute("first", "second");
     Assert.That(attribute.Contains(new GetAttribute("second", "third")), Is.False);
 }
コード例 #2
0
 public void ShouldContainSecondUri()
 {
     var attribute = new GetAttribute("first", "second");
     Assert.That(attribute.Contains(new GetAttribute("second")));
 }
コード例 #3
0
 public void TestToStringWithMultipleResourceUris()
 {
     var attribute = new GetAttribute("first", "second");
     Assert.That(attribute.ToString(),
         Is.EqualTo(string.Format("GET first{0}GET second", Environment.NewLine)));
 }