/** * try to get an user by loginname * */ public function testGetUserByLoginName() { // add a test user $user = $this->testAddUser(); $testUser = $this->_backend->getFullUserByLoginName($user->accountLoginName); $this->assertEquals($user->accountLoginName, $testUser->accountLoginName); $this->assertEquals('Tinebase_Model_FullUser', get_class($testUser), 'wrong type'); }