CacheTool\Command\ApcuCacheInfoCommandTest::testCommand PHP Method

testCommand() public method

public testCommand ( )
    public function testCommand()
    {
        $this->assertHasApcu();
        $result = $this->runCommand('apcu:cache:info');
        $this->assertContains('Slots', $result);
        $this->assertContains('Locking type', $result);
    }
ApcuCacheInfoCommandTest