Cake\Upgrade\Test\TestCase\Shell\Task\I18nTaskTest::testProcess PHP Method

testProcess() public method

public testProcess ( )
    public function testProcess()
    {
        $path = TESTS . 'test_files' . DS;
        $result = $this->sut->process($path . 'i18n_before.php');
        $this->assertTrue($result);
        $result = $this->sut->Stage->source($path . 'i18n_before.php');
        $expected = file_get_contents($path . 'i18n_after.php');
        $this->assertTextEquals($expected, $result);
    }