### Question:
OpenMappingExtension implements IExtensionPoint { @Override public void callExtensionPoint(ILogChannel log, Object object ) throws HopException { TransformMeta transformMeta = (TransformMeta) ( (Object[]) object )[ 0 ]; PipelineMeta piprlineMeta = (PipelineMeta) ( (Object[]) object )[ 1 ]; if ( transformMeta.getTransform() instanceof MetaInjectMeta ) { piprlineMeta.setFilename( null ); String appendName = " (" + BaseMessages.getString( PKG, "TransGraph.AfterInjection" ) + ")"; if ( !piprlineMeta.getName().endsWith( appendName ) ) { piprlineMeta.setName( piprlineMeta.getName() + appendName ); } } }  @Override void callExtensionPoint(ILogChannel log, Object object );  }### Answer:
@Test @Ignore public void testLocalizedMessage() throws HopException { OpenMappingExtension openMappingExtension = new OpenMappingExtension(); Class PKG = IHopLifecycleListener.class; String afterInjectionMessageAdded = BaseMessages.getString( PKG, "PipelineGraph.AfterInjection" ); PipelineMeta pipelineMeta = spy( new PipelineMeta() ); pipelineMeta.setName(PIPELINE_META_NAME); doReturn( mock( MetaInjectMeta.class ) ).when(transformMeta).getTransform(); openMappingExtension.callExtensionPoint( logChannelInterface, metaData ); assert ( pipelineMeta.getName().contains( afterInjectionMessageAdded ) ); }