### Question:
ResourceCreationSpecifierFactory { public static ResourceCreationSpecifier createResourceCreationSpecifier(URL descriptorURL, Object[] parameters) throws InvalidXMLException, IOException { return createResourceCreationSpecifier(new XMLInputSource(descriptorURL), parameters); } private  ResourceCreationSpecifierFactory(); static ResourceCreationSpecifier createResourceCreationSpecifier(URL descriptorURL,
          Object[] parameters); static ResourceCreationSpecifier createResourceCreationSpecifier(XMLInputSource xmlInput,
          Object[] parameters); static ResourceCreationSpecifier createResourceCreationSpecifier(String descriptorPath,
          Object[] parameters); static void setConfigurationParameters(ResourceCreationSpecifier specifier,
          Object... configurationData); static void setConfigurationParameters(ResourceCreationSpecifier specifier,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues); static void setConfigurationParameters(ResourceMetaData metaData,
          ConfigurationParameter[] configurationParameters, Object[] configurationValues);  }### Answer:
@Test(expected = IllegalArgumentException.class) public void test4() throws Exception { ResourceCreationSpecifierFactory.createResourceCreationSpecifier( "src/main/resources/org/apache/uima/fit/component/NoOpAnnotator.xml", new String[] { "test" }); }
@Test(expected = IllegalArgumentException.class) public void test2() throws Exception { ResourceCreationSpecifierFactory.createResourceCreationSpecifier( "src/main/resources/org/apache/uima/fit/component/NoOpAnnotator.xml", new Object[] { "test", new Point(0, 5) }); }