use of com.palantir.atlasdb.schema.stream.generated.TestHashComponentsStreamMetadataTable.TestHashComponentsStreamMetadataRow in project atlasdb by palantir.
the class StreamTest method testHashRowComponentsMetadataTable.
@Test
public void testHashRowComponentsMetadataTable() {
TestHashComponentsStreamMetadataRow row = TestHashComponentsStreamMetadataRow.of(TEST_ID);
byte[] persistedRow = row.persistToBytes();
TestHashComponentsStreamMetadataRow hydratedRow = TestHashComponentsStreamMetadataRow.BYTES_HYDRATOR.hydrateFromBytes(persistedRow);
assertEquals(row, hydratedRow);
}
Aggregations