SPIRootInvokeHook implements RootInvokeHook { @Override public void finish(final int connectionCount) { for (RootInvokeHook each : rootInvokeHooks) { each.finish(connectionCount); } }  @Override void start(); @Override void finish(final int connectionCount);  }
@Test public void assertFinishSuccess() { spiRootInvokeHook.finish(0); assertTrue(RootInvokeHookFixture.containsAction("finish")); }