function clearCache()
 {
     parent::clearCache();
     //if ($this->cache->count() > 0) {
     $this->cache->deleteAll();
     //}
 }
<?php

require dirname(__FILE__) . '/Doctrine12TestSuite.php';
$time = microtime(true);
$memory = memory_get_usage(true);
$test = new Doctrine12TestSuite();
$test->initialize();
$test->run();
echo sprintf(" %11s | %6.2f |\n", number_format(memory_get_usage(true) - $memory), microtime(true) - $time);