public function testSuccessfulClear()
{
$app = $this->getApp();
$app['cache'] = $this->getMockCache();
$command = new CacheClear($app);
$tester = new CommandTester($command);
$tester->execute([]);
$result = $tester->getDisplay();
$this->assertRegExp('/Cache cleared/', $result);
}