### Question:
ParameterVerifier { static boolean supportsParameters(String namespaceURI) { boolean supports = false; Matcher m = nsVersionPattern.matcher(namespaceURI); if (m.matches() && m.groupCount() == 2) { String type = m.group(1); double ver = Double.parseDouble(m.group(2)); supports = ((type.equals("workflow") && ver >= workflowMinVersion) || (type.equals("coordinator") && ver >= coordinatorMinVersion) || (type.equals("bundle") && ver >= bundleMinVersion)); } return supports; }  static void verifyParameters(Configuration conf, Element rootElement);  }### Answer:
@Test public void testSupportsParameters() throws Exception { assertFalse(ParameterVerifier.supportsParameters("uri:oozie:workflow:0.3")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:workflow:0.4")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:workflow:0.5")); assertFalse(ParameterVerifier.supportsParameters("uri:oozie:coordinator:0.3")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:coordinator:0.4")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:coordinator:0.5")); assertFalse(ParameterVerifier.supportsParameters("uri:oozie:bundle:0.1")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:bundle:0.2")); assertTrue(ParameterVerifier.supportsParameters("uri:oozie:bundle:0.3")); assertFalse(ParameterVerifier.supportsParameters("uri:oozie:foo:0.4")); assertFalse(ParameterVerifier.supportsParameters("foo")); }