use of org.mule.runtime.extension.api.tx.OperationTransactionalAction in project mule by mulesoft.
the class TransactionalActionParameterTestCase method injectInOperationJoinNotSupported.
@Test
public void injectInOperationJoinNotSupported() throws Exception {
OperationTransactionalAction value = (OperationTransactionalAction) flowRunner("injectInOperationJoinNotSupported").run().getMessage().getPayload().getValue();
assertThat(value, is(NOT_SUPPORTED));
}
use of org.mule.runtime.extension.api.tx.OperationTransactionalAction in project mule by mulesoft.
the class TransactionalActionParameterTestCase method injectDefaultOperationTransactionalAction.
@Test
public void injectDefaultOperationTransactionalAction() throws Exception {
OperationTransactionalAction value = (OperationTransactionalAction) flowRunner("injectInOperationDefaultValue").run().getMessage().getPayload().getValue();
assertThat(value, is(JOIN_IF_POSSIBLE));
}
Aggregations