/** * Make a basic TaylorAndFrancis test AU to which URLs can be added. * * @return a basic Ingenta test AU * @throws ConfigurationException if can't set configuration */ MockArchivalUnit makeAu() throws ConfigurationException { MockArchivalUnit mau = new MockArchivalUnit(); Configuration config = ConfigurationUtil.fromArgs("base_url", "http://www.xyz.com/"); mau.setConfiguration(config); mau.setUrlStems(ListUtil.list("http://www.xyz.com/")); return mau; }
protected ArchivalUnit createAu() throws ArchivalUnit.ConfigurationException { return PluginTestUtil.createAndStartAu( PLUGIN_NAME, ConfigurationUtil.fromArgs( "base_url", "http://pediatrics.aappublications.org/", "volume_name", "52", "journal_issn", "1098-4275")); }