Exemplo n.º 1
0
 public void test_WhenPassingValidObjectToXElementTestShouldReturnXElement()
 {
     var test = new Foo { id = 1, name = "test" };
     var xelement = test.ToXElement();
     Assert.IsInstanceOfType(xelement, typeof(XElement));
 }