@Test
public void testBatching()
    throws UnsupportedQueryException, SourceUnavailableException, FederationException {

  setIsParentDirty(true);
  findChildrenStreamEndPlugin.streamEnded(context);
  assertHandlerCalls(2, 0, 1, 2, 0, 1);
}