@Test(timeout = 20000)
public void testUnimplementedMethods() throws Exception {
String streamSegmentName = "test";
@Cleanup
ServiceBuilder serviceBuilder = newInlineExecutionInMemoryBuilder(getBuilderConfig());
serviceBuilder.initialize();
StreamSegmentStore store = serviceBuilder.createStreamSegmentService();
TableStore tableStore = serviceBuilder.createTableStoreService();
ServerConnection connection = mock(ServerConnection.class);
PravegaRequestProcessor processor = new PravegaRequestProcessor(store, tableStore, connection);
assertThrows("seal() is implemented.",
() -> processor.sealTableSegment(new WireCommands.SealTableSegment(1, streamSegmentName, "")),
ex -> ex instanceof UnsupportedOperationException);
assertThrows("merge() is implemented.",
() -> processor.mergeTableSegments(new WireCommands.MergeTableSegments(1, streamSegmentName, streamSegmentName, "")),
ex -> ex instanceof UnsupportedOperationException);
}