Search in sources :

Example 1 with StreamingStrategyTypeBuilder

use of org.mule.runtime.extension.api.declaration.type.StreamingStrategyTypeBuilder in project mule by mulesoft.

the class DefaultExtensionModelFactoryTestCase method assertStreamingStrategy.

private void assertStreamingStrategy(ParameterModel streamingParameter) {
    assertThat(streamingParameter.getType(), equalTo(new StreamingStrategyTypeBuilder().getByteStreamingStrategyType()));
    assertThat(streamingParameter.isRequired(), is(false));
    assertThat(streamingParameter.getDefaultValue(), is(nullValue()));
    assertThat(streamingParameter.getExpressionSupport(), is(NOT_SUPPORTED));
}
Also used : StreamingStrategyTypeBuilder(org.mule.runtime.extension.api.declaration.type.StreamingStrategyTypeBuilder)

Aggregations

StreamingStrategyTypeBuilder (org.mule.runtime.extension.api.declaration.type.StreamingStrategyTypeBuilder)1