芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/public_html/fmd/vendor/ircmaxell/security-lib/test/Unit/Core/StrengthTest.php
assertTrue($obj instanceof \SecurityLib\Strength); $this->assertTrue($obj instanceof \SecurityLib\Enum); } public function testGetConstList() { $obj = new Strength(); $const = $obj->getConstList(); $this->assertEquals(array( 'VERYLOW' => 1, 'LOW' => 3, 'MEDIUM' => 5, 'HIGH' => 7, ), $const); } public function testGetConstListWithDefault() { $obj = new Strength(); $const = $obj->getConstList(true); $this->assertEquals(array( '__DEFAULT' => 1, 'VERYLOW' => 1, 'LOW' => 3, 'MEDIUM' => 5, 'HIGH' => 7, ), $const); } }