@Test public void testGetUrl() { XacmlXslUrlProviderImpl sut = new XacmlXslUrlProviderImpl(); final String xacmlXslFile = "c2xacml.xsl"; String expectedXacmlXslUrl = this .getClass() .getClassLoader() .getResource( this.getClass().getPackage().getName() .replace(".", "/") + "/" + xacmlXslFile).toString(); String returnedXacmlXslUrl = sut.getUrl(XslResource.XACMLXSLNAME); assertEquals(expectedXacmlXslUrl, returnedXacmlXslUrl); }
@Override public String getUrl(XslResource xslResource) { final String packageName = this.getClass().getPackage().getName(); final String fileName = xslResource.getFileName(); return getUrl(packageName, fileName); }
XacmlXslUrlProviderImpl implements XacmlXslUrlProvider { @Override public String getUrl(XslResource xslResource) { final String packageName = this.getClass().getPackage().getName(); final String fileName = xslResource.getFileName(); return getUrl(packageName, fileName); } }
XacmlXslUrlProviderImpl implements XacmlXslUrlProvider { @Override public String getUrl(XslResource xslResource) { final String packageName = this.getClass().getPackage().getName(); final String fileName = xslResource.getFileName(); return getUrl(packageName, fileName); }  }
XacmlXslUrlProviderImpl implements XacmlXslUrlProvider { @Override public String getUrl(XslResource xslResource) { final String packageName = this.getClass().getPackage().getName(); final String fileName = xslResource.getFileName(); return getUrl(packageName, fileName); }  @Override String getUrl(XslResource xslResource); }
XacmlXslUrlProviderImpl implements XacmlXslUrlProvider { @Override public String getUrl(XslResource xslResource) { final String packageName = this.getClass().getPackage().getName(); final String fileName = xslResource.getFileName(); return getUrl(packageName, fileName); }  @Override String getUrl(XslResource xslResource);  }