Search in sources :

Example 1 with StreamSubscriber

use of io.pravega.controller.store.stream.records.StreamSubscriber in project pravega by pravega.

the class ControllerMetadataJsonSerializerTest method testStreamSubscriber.

@Test
public void testStreamSubscriber() {
    StreamSubscriber record = new StreamSubscriber("a", 1L, ImmutableMap.of(1L, 2L, 3L, 4L), 10L);
    testRecordSerialization(record, StreamSubscriber.class);
}
Also used : StreamSubscriber(io.pravega.controller.store.stream.records.StreamSubscriber) Test(org.junit.Test)

Aggregations

StreamSubscriber (io.pravega.controller.store.stream.records.StreamSubscriber)1 Test (org.junit.Test)1