public function testExceedTimeout() { $mutex = new CASMutex(1); $mutex->synchronized(function () { sleep(2); }); }