use of com.datastax.dse.driver.internal.core.cql.continuous.ContinuousCqlRequestAsyncProcessor in project java-driver by datastax.
the class ContinuousCqlRequestReactiveProcessorTest method should_create_request_handler.
@Test
public void should_create_request_handler() {
RequestHandlerTestHarness.Builder builder = continuousHarnessBuilder().withProtocolVersion(DSE_V1);
try (RequestHandlerTestHarness harness = builder.build()) {
ContinuousCqlRequestReactiveProcessor processor = new ContinuousCqlRequestReactiveProcessor(new ContinuousCqlRequestAsyncProcessor());
assertThat(processor.process(UNDEFINED_IDEMPOTENCE_STATEMENT, harness.getSession(), harness.getContext(), "test")).isInstanceOf(DefaultContinuousReactiveResultSet.class);
}
}
Aggregations