TransOpenedExtensionPointPlugin implements ExtensionPointInterface { @Override public void callExtensionPoint( LogChannelInterface log, Object object ) throws KettleException { final TransMeta transMeta = (TransMeta) object; synchronizationListener.install( transMeta ); } TransOpenedExtensionPointPlugin( DataServiceContext context ); @Override void callExtensionPoint( LogChannelInterface log, Object object );  }
@Test public void testCallExtensionPoint() throws Exception { extensionPointPlugin.callExtensionPoint( mock( LogChannel.class ), transMeta ); verify( service ).install( transMeta ); }