CacheTool\Command\ApcCacheClearCommandTest::testCommand PHP Метод

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

public testCommand ( )
    public function testCommand()
    {
        $this->assertHasApc();
        $result = $this->runCommand('apc:cache:clear all -v');
        $this->assertContains('apc_clear_cache("user")', $result);
        $this->assertContains('apc_clear_cache("all")', $result);
    }