@Test public void testAddPlugins() throws Exception { testProperties.setProperty(ComponentFactory.PLUGINS, DummyPlugin.class.getName()); FileSystemPageFactory wikiPageFactory = new FileSystemPageFactory(); ResponderFactory responderFactory = new ResponderFactory("."); assertMatch("!today", false); String output = loader.loadPlugins(responderFactory, testProvider); assertSubString(DummyPlugin.class.getName(), output); assertEquals(WikiPageResponder.class, responderFactory.getResponderClass("custom1")); assertEquals(EditResponder.class, responderFactory.getResponderClass("custom2")); assertMatch("!today", true); }