use of org.mule.runtime.api.meta.model.declaration.fluent.ExtensionDeclaration in project mule by mulesoft.
the class DisplayDeclarationEnricherTestCase method parseSummaryAnnotationOnOperationParameter.
@Test
public void parseSummaryAnnotationOnOperationParameter() {
ExtensionDeclaration extensionDeclaration = heisenbergDeclarer.getDeclaration();
OperationDeclaration operation = getOperation(extensionDeclaration, HeisenbergOperations.OPERATION_WITH_SUMMARY);
assertThat(operation, is(notNullValue()));
List<ParameterDeclaration> parameters = operation.getAllParameters();
assertParameterSummary(findParameter(parameters, DOOR_PARAMETER), KNOCKEABLE_DOORS_SUMMARY);
}
Aggregations