ball = new byte[b1.length + b2.length + 1];
System.arraycopy(b1, 0, ball, 0, b1.length);
ball[b1.length] = (byte) 0;
System.arraycopy(b2, 0, ball, b1.length + 1, b2.length);
Instance instance = new MockInstance();
Connector conn = instance.getConnector("root", new PasswordToken(new byte[0]));
conn.tableOperations().create(table);
BatchWriter bw = conn.createBatchWriter(table, new BatchWriterConfig());
Mutation m = new Mutation(ball);
m.put(new byte[0], new byte[0], new byte[0]);