public void testShouldUseSpecifiedRevisionController() throws Exception { testProperties.setProperty( ComponentFactory.VERSIONS_CONTROLLER, NullVersionsController.class.getName()); VersionsController defaultRevisionController = factory.loadVersionsController(); assertEquals(NullVersionsController.class, defaultRevisionController.getClass()); }
public void testShouldUseZipFileRevisionControllerAsDefault() throws Exception { VersionsController defaultRevisionController = factory.loadVersionsController(); assertEquals(ZipFileVersionsController.class, defaultRevisionController.getClass()); }