use of com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate in project Payara by payara.
the class AppTest method testReplaceDelegate.
/**
* Test that you can't replace delegate with a lower order.
*/
public void testReplaceDelegate() {
JavaEETransactionManagerDelegate d = new JavaEETransactionManagerSimplifiedDelegate();
t.setDelegate(d);
assertFalse(((JavaEETransactionManagerSimplified) t).isDelegate(d));
}
Aggregations