### Question:
PolicyBPHandler extends BaseNamespaceHandler { public URL getSchemaLocation(String s) { String location = null; if ("http: location = "schemas/policy.xsd"; } else if ("http: location = "schemas/ws-policy-200702.xsd"; } else if ("http: location = "schemas/ws-policy-200607.xsd"; } else if ("http: location = "schemas/ws-policy-200409.xsd"; } else if ("http: location = "schemas/oasis-200401-wss-wssecurity-secext-1.0.xsd"; } else if ("http: location = "schemas/oasis-200401-wss-wssecurity-utility-1.0.xsd"; } else if ("http: location = "schemas/xmldsig-core-schema.xsd"; } else if ("http: location = "schemas/ws-securitypolicy-1.2.xsd"; } if (location != null) { return getClass().getClassLoader().getResource(location); } return super.findCoreSchemaLocation(s); }  URL getSchemaLocation(String s); @SuppressWarnings("rawtypes") Set<Class> getManagedClasses(); Metadata parse(Element element, ParserContext context); ComponentMetadata decorate(Node node, ComponentMetadata componentMetadata, ParserContext context);  }### Answer:
@Test public void testGetSchemaLocation() { PolicyBPHandler handler = new PolicyBPHandler(); assertNotNull(handler.getSchemaLocation("http: assertNotNull(handler.getSchemaLocation("http: assertNotNull(handler.getSchemaLocation("http: assertNotNull(handler.getSchemaLocation("http: assertNotNull(handler.getSchemaLocation( "http: assertNotNull(handler.getSchemaLocation( "http: assertNotNull(handler.getSchemaLocation("http: assertNotNull(handler.getSchemaLocation("http: }