We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e143df8 commit d7dbbd7Copy full SHA for d7dbbd7
tests/Integration/Cache/CacheTesterTest.php
@@ -140,4 +140,14 @@ public function test_assert_not_locked_while_locked(): void
140
$this->expectException(ExpectationFailedException::class);
141
$lock->assertNotLocked();
142
}
143
+
144
+ public function test_lock_assertion_with_different_owner(): void
145
+ {
146
+ $testingCache = $this->cache->fake();
147
148
+ $actualCache = $this->container->get(Cache::class);
149
+ $actualCache->lock('processing')->acquire();
150
151
+ $testingCache->assertLocked('processing');
152
+ }
153
0 commit comments