use of io.pravega.controller.store.stream.records.StreamCutReferenceRecord in project pravega by pravega.
the class ControllerMetadataJsonSerializerTest method testRetentionSet.
@Test
public void testRetentionSet() {
StreamCutReferenceRecord refRecord1 = StreamCutReferenceRecord.builder().recordingSize(0L).recordingTime(10L).build();
StreamCutReferenceRecord refRecord2 = StreamCutReferenceRecord.builder().recordingSize(1L).recordingTime(11L).build();
RetentionSet record = new RetentionSet(ImmutableList.of(refRecord1, refRecord2));
testRecordSerialization(record, RetentionSet.class);
}
Aggregations