public void testLocalResourceSetRollback() throws Exception
{
runTest(new Operation[]
{
new Operation(Operation.BEGIN, 1),
new Operation(Operation.STATUS, 1, Status.STATUS_ACTIVE),
new Operation(Operation.CREATE_LOCAL, 1),
new Operation(Operation.ENLIST, 1),
new Operation(Operation.STATE, 1, Resource.ACTIVE),
new Operation(Operation.SETROLLBACK, 1),
new Operation(Operation.STATUS, 1, Status.STATUS_MARKED_ROLLBACK),
new Operation(Operation.COMMIT, 1, 0, new RollbackException()),
new Operation(Operation.STATE, 1, Resource.ROLLEDBACK),
});
}