public function testShouldNotAuthNoExistingUserAndReturnErrorCode()
 {
     //GIVEN
     Zend_Session::$_unitTestEnabled = true;
     $oApiUser = new AM_Api_User();
     //WHEN
     $aResult = $oApiUser->login('no-existing-user', 'password');
     //THEN
     $aExpectedResult = array('code' => Zend_Auth_Result::FAILURE_IDENTITY_NOT_FOUND, 'messages' => array('A record with the supplied identity could not be found.'));
     $this->assertEquals($aExpectedResult, $aResult);
 }