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