@Test
public void testGetCombiner() throws IOException {

  this.handler = new NativeCollectorOnlyHandler(taskContext, nativeHandler, pusher, combiner);
  Mockito.when(combiner.getId()).thenReturn(100L);
  final ReadWriteBuffer result = handler.onCall(
    NativeCollectorOnlyHandler.GET_COMBINE_HANDLER, null);
  Assert.assertEquals(100L, result.readLong());
}