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