public function testGetRandomToken() { $crypt = new PasswordLib(); $string = $crypt->getRandomToken(10); $this->assertEquals(10, strlen($string)); }