function testCacheControl() { \arc\cache::purge(); $testProxy = \arc\cache::proxy(new takesTooLong(true), function ($params) { return 30; }); $result = $testProxy->waitForIt(); $this->assertTrue($result); }