public class MetadataConstraintsTest {
static class TestMetadataConstraints extends MetadataConstraints {
@Override
protected Arbitrator getArbitrator() {
return new Arbitrator() {
@Override
public boolean transactionAlive(String type, long tid) throws Exception {
if (tid == 9)
throw new RuntimeException("txid 9 reserved for future use");