public function testExecuteTimeoutLeavesOneSecondForKeyToExpire()
{
$mutex = $this->getMockForAbstractClass(SpinlockMutex::class, ["test", 3]);
$mutex->expects($this->once())->method("acquire")->with($this->anything(), 4)->willReturn(true);
$mutex->expects($this->once())->method("release")->willReturn(true);
$mutex->synchronized(function () {
usleep(2999999);
});
}