public void ReadXElement_Empty_ThrowsSyncDocumentException()
        {
            EndpointsDescriptor endPointsDescriptor = new EndpointsDescriptor();

            XElement element = XElement.Parse("<NotEndpoints />");
            endPointsDescriptor.ReadXElement(element);
        }
 public void ReadXElement_Empty_ThrowsArgumentNullException()
 {
     EndpointsDescriptor endPointsDescriptor = new EndpointsDescriptor();
     XElement element = null;
     endPointsDescriptor.ReadXElement(element);
 }