public function testValidateUser() { $userManager = new TUserManager(); $userManager->init(self::$config); $userManager->setPasswordMode('Clear'); self::assertTrue($userManager->validateUser('Joe', 'demo')); self::assertFalse($userManager->validateUser('John', 'bad')); }