public void XElementAnnotationTestFunctionImportParameterWithAnnotationModel() { XElement expectedAnnotation = new XElement("{http://foo}Annotation", 1); AnnotationInfo annotationInfo = new AnnotationInfo() { Namespace = "http://foo", Name = "Annotation" }; List <ElementInfo> annotationPath = new List <ElementInfo>() { new ElementInfo() { Name = "SimpleFunction", Type = AnnotatableElementType.Function }, new ElementInfo() { Name = "Name", Type = AnnotatableElementType.Parameter }, }; ElementLocation annotationLocation = new ElementLocation() { Namespace = "Default", ElementPath = annotationPath }; this.AnnotationRoundTripCsdlCheck(XElementAnnotationModelBuilder.ActionImportParameterWithAnnotationCsdl(), expectedAnnotation, annotationInfo, annotationLocation, XElementAnnotationModelBuilder.OperationImportParameterWithAnnotationModel()); }