Ejemplo n.º 1
0
 public void index_document_contains_nuked_attribute()
 {
     (from XElement node in IndexDocument.Descendants("wrap")
      where node.Attribute("name").Value.Equals("pharrell") &&
      node.Attribute("version").Value.Equals("1.0.0.0") &&
      node.Attribute("nuked").Value.Equals("true")
      select node)
     .ShouldHaveCountOf(1);
 }