/** * @expectedException RemoteAccessDeniedException */ function test_publicCallPluginDeny() { global $conf; $conf['useacl'] = 1; $remoteApi = new RemoteApi(); $remoteApi->call('plugin.testplugin.methodString'); }