use of uk.gov.gchq.gaffer.hbasestore.coprocessor.scanner.QueryScanner in project Gaffer by gchq.
the class GafferCoprocessorTest method shouldDelegatePostScannerOpenToQueryScanner.
@Test
public void shouldDelegatePostScannerOpenToQueryScanner() throws IOException {
// Given
final ObserverContext<RegionCoprocessorEnvironment> e = mock(ObserverContext.class);
final Scan scan = mock(Scan.class);
final RegionScanner scanner = mock(RegionScanner.class);
// When
final QueryScanner queryScanner = (QueryScanner) coprocessor.postScannerOpen(e, scan, scanner);
// Then
assertNotNull(queryScanner);
}
Aggregations