CacheTool\Command\OpcacheConfigurationCommandTest::testCommand PHP Method

testCommand() public method

public testCommand ( )
    public function testCommand()
    {
        $this->assertHasOpcache();
        $result = $this->runCommand('opcache:configuration -v');
        $this->assertContains('opcache_get_configuration()', $result);
        $this->assertContains('Directive', $result);
        $this->assertContains('Value', $result);
        $this->assertContains('opcache.enable', $result);
        $this->assertContains('opcache.enable_cli', $result);
    }
OpcacheConfigurationCommandTest