@Override protected void setUp() throws Exception { super.setUp(); wikiName = TestResources.WIKI_NAME; url = TestResources.URL; classname = TestResources.CLASS_NAME; if (isSecured) { username = TestResources.USERNAME; password = TestResources.PASSWORD; } request = new Requests(url); if (isSecured) { request.setAuthentication(username, password); } }
public void testRequestWikiClass() throws Throwable { Class clas = request.requestWikiClasses(wikiName, classname); assertNotNull(clas); }