PHPPM\Tests\ProcessManagerTest::testReplaceHeader PHP Метод

testReplaceHeader() публичный Метод

public testReplaceHeader ( string $originHeader, string $expectedNewHeader, array $replaceHeaders )
$originHeader string
$expectedNewHeader string
$replaceHeaders array
    public function testReplaceHeader($originHeader, $expectedNewHeader, array $replaceHeaders)
    {
        $replaceHeader = $this->getProcessManagerMethod('replaceHeader');
        $replacedHeader = $replaceHeader($originHeader, $replaceHeaders);
        $this->assertEquals($expectedNewHeader, $replacedHeader);
    }