Arrays.equals(m.getRow(), ((String) t.get(0)).getBytes()));
List<ColumnUpdate> colUpdates = m.getUpdates();
Assert.assertEquals(4, colUpdates.size());
ColumnUpdate colUpdate = colUpdates.get(0);
Assert.assertTrue("CF not equal",
Arrays.equals(colUpdate.getColumnFamily(), "col1".getBytes()));
Assert.assertTrue("CQ not equal",
Arrays.equals(colUpdate.getColumnQualifier(), new byte[0]));
Assert.assertTrue("Values not equal",
Arrays.equals(colUpdate.getValue(), "value1".getBytes()));
colUpdate = colUpdates.get(1);
Assert.assertTrue("CF not equal",
Arrays.equals(colUpdate.getColumnFamily(), "col1".getBytes()));
Assert.assertTrue("CQ not equal", Arrays.equals(
colUpdate.getColumnQualifier(), "qual".getBytes()));
Assert.assertTrue("Values not equal",
Arrays.equals(colUpdate.getValue(), "value2".getBytes()));
colUpdate = colUpdates.get(2);
Assert.assertTrue("CF not equal",
Arrays.equals(colUpdate.getColumnFamily(), "col2".getBytes()));
Assert.assertTrue("CQ not equal", Arrays.equals(
colUpdate.getColumnQualifier(), "qual".getBytes()));
Assert.assertTrue("Values not equal",
Arrays.equals(colUpdate.getValue(), "value3".getBytes()));
colUpdate = colUpdates.get(3);
Assert.assertTrue("CF not equal",
Arrays.equals(colUpdate.getColumnFamily(), "col2".getBytes()));
Assert.assertTrue("CQ not equal",
Arrays.equals(colUpdate.getColumnQualifier(), new byte[0]));
Assert.assertTrue("Values not equal",
Arrays.equals(colUpdate.getValue(), "value4".getBytes()));
}