### Question:
TransformationRuntimeExtensionPoint extends BaseRuntimeExtensionPoint implements TransListener { @Override public void callExtensionPoint( LogChannelInterface logChannelInterface, Object o ) throws KettleException { if ( o != null && o instanceof Trans ) { Trans trans = ( (Trans) o ); if ( trans.isPreview() || !isRuntimeEnabled() ) { return; } trans.addTransListener( this ); createExecutionProfile( logChannelInterface, trans ); setConsoleLog( logChannelInterface ); } }  @Override void callExtensionPoint( LogChannelInterface logChannelInterface, Object o ); @Override void transStarted( Trans trans ); @Override void transActive( Trans trans ); @Override void transFinished( final Trans trans );  }### Answer:
@Test public void testCallExtensionPoint() throws Exception { transExtensionPoint.callExtensionPoint( null, trans ); List<TransListener> listeners = trans.getTransListeners(); assertNotNull( listeners ); assertTrue( listeners.contains( transExtensionPoint ) ); }
@Test public void testRuntimeDisabled() throws Exception { transExtensionPoint.setRuntimeEnabled( false ); transExtensionPoint.callExtensionPoint( null, trans ); List<TransListener> listeners = trans.getTransListeners(); assertNotNull( listeners ); assertFalse( listeners.contains( transExtensionPoint ) ); }