public void XElementAnnotationTestAnnotationWithoutChildrenModel() { XElement expectedAnnotation = new XElement("{http://foo}Annotation"); AnnotationInfo annotationInfo = new AnnotationInfo() { Namespace = "http://foo", Name = "Annotation" }; List <ElementInfo> annotationPath = new List <ElementInfo>() { new ElementInfo() { Name = "ComplexType", Type = AnnotatableElementType.ComplexType } }; ElementLocation annotationLocation = new ElementLocation() { Namespace = "DefaultNamespace", ElementPath = annotationPath }; this.AnnotationRoundTripCsdlCheck(XElementAnnotationModelBuilder.AnnotationWithoutChildrenCsdl(), expectedAnnotation, annotationInfo, annotationLocation, XElementAnnotationModelBuilder.AnnotationWithoutChildrenModel()); }