@Test
public void createRawTableTestWithMetadata() throws IOException {
TachyonURI uri = new TachyonURI("/tables/table1");
int fileId = mTfs.createRawTable(uri, 20, TestUtils.getIncreasingByteBuffer(9));
RawTable table = mTfs.getRawTable(fileId);
Assert.assertEquals(fileId, table.getId());
Assert.assertEquals("/tables/table1", table.getPath());
Assert.assertEquals(20, table.getColumns());
Assert.assertEquals(TestUtils.getIncreasingByteBuffer(9), table.getMetadata());
table = mTfs.getRawTable(uri);
Assert.assertEquals(fileId, table.getId());
Assert.assertEquals("/tables/table1", table.getPath());
Assert.assertEquals(20, table.getColumns());
Assert.assertEquals(TestUtils.getIncreasingByteBuffer(9), table.getMetadata());
}