use of org.mule.runtime.module.extension.internal.loader.java.property.ConfigTypeModelProperty in project mule by mulesoft.
the class JavaConfigurationDeclarationEnricherTestCase method verifyConfigurationModelPropertyOnOperation.
@Test
public void verifyConfigurationModelPropertyOnOperation() {
OperationDeclaration operationDeclaration = getDeclaration(declaration.getConfigurations().get(0).getOperations(), GET_ENEMY);
final ConfigTypeModelProperty configTypeModelProperty = checkIsPresent(operationDeclaration, ConfigTypeModelProperty.class);
assertType(configTypeModelProperty);
}
use of org.mule.runtime.module.extension.internal.loader.java.property.ConfigTypeModelProperty in project mule by mulesoft.
the class JavaConfigurationDeclarationEnricherTestCase method verifyConfigurationModelPropertyOnSource.
@Test
public void verifyConfigurationModelPropertyOnSource() {
SourceDeclaration sourceDeclaration = getDeclaration(declaration.getConfigurations().get(0).getMessageSources(), LISTEN_PAYMENTS);
final ConfigTypeModelProperty configTypeModelProperty = checkIsPresent(sourceDeclaration, ConfigTypeModelProperty.class);
assertType(configTypeModelProperty);
}
Aggregations