PluginTest::testGetDirectoryPath PHP 메소드

testGetDirectoryPath() 공개 메소드

プラグインのディレクトリパスを取得
public testGetDirectoryPath ( string $pluginName, array $expected, string $message = null )
$pluginName string プラグイン名
$expected array 期待値
$message string テストが失敗した時に表示されるメッセージ
    public function testGetDirectoryPath($pluginName, $expected, $message = null)
    {
        if (!is_null($expected)) {
            $expected = BASER_PLUGINS . $expected;
        }
        $result = $this->Plugin->getDirectoryPath($pluginName);
        $this->assertEquals($expected, $result, $message);
    }