XacmlXslUrlProviderImpl extends
		gov.samhsa.consent.XacmlXslUrlProviderImpl { @Override public String getUrl(XslResource xslResource) { String packageName = null; String fileName = xslResource.getFileName(); if (XslResource.XACMLXSLNAME.equals(xslResource)) { packageName = this.getClass().getPackage().getName(); } else { packageName = this.getClass().getSuperclass().getPackage() .getName(); } return getUrl(packageName, fileName); }  @Override String getUrl(XslResource xslResource);  }
@Test public void testGetUrl() { XacmlXslUrlProviderImpl sut = new XacmlXslUrlProviderImpl(); final String xacmlXslFile = "gov/samhsa/consent/pg/c2xacml.xsl"; String expectedXacmlXslUrl = this.getClass().getClassLoader() .getResource(xacmlXslFile).toString(); String returnedXacmlXslUrl = sut.getUrl(XslResource.XACMLXSLNAME); assertEquals(expectedXacmlXslUrl, returnedXacmlXslUrl); }