public function testAuthHelperUnsuccessfullWithUnkownError() { $userRcEntries = array(array()); OC_RoundCube_App::$RC_USER_ENTRIES = $userRcEntries; OC_RoundCube_App::$LOGIN_RESULT = false; $params = array("uid" => 'user', "password" => 'password'); $loggedIn = OC_RoundCube_AuthHelper::login($params); $this->assertFalse($loggedIn, 'Should not be logged in'); }