### Question:
PlatformPluginDeploymentListener implements ArtifactUrlTransformer { @Override public URL transform( URL artifact ) throws Exception { return urlFactory.create( PROTOCOL, artifact.getFile() ); }  @Override URL transform( URL artifact ); @Override boolean canHandle( File artifact ); static final String PROTOCOL; static final String PLUGIN_XML_FILENAME; }### Answer:
@Test public void testTransform() throws Exception { platformPluginDeploymentListener.transform( this.getClass().getClassLoader() .getResource( "org/pentaho/osgi/platform/plugin/deployer/testTranform.zip" ) ); verify( urlFactory ).create( eq( PlatformPluginDeploymentListener.PROTOCOL ), endsWith( "testTranform.zip" ) ); }