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 141e693 commit 931130eCopy full SHA for 931130e
tests/DeferPropTest.php
@@ -16,6 +16,15 @@ public function test_can_invoke(): void
16
$this->assertSame('A deferred value', $deferProp());
17
}
18
19
+ public function test_can_invoke_and_merge(): void
20
+ {
21
+ $deferProp = (new DeferProp(function () {
22
+ return 'A deferred value';
23
+ }))->merge();
24
+
25
+ $this->assertSame('A deferred value', $deferProp());
26
+ }
27
28
public function test_can_resolve_bindings_when_invoked(): void
29
{
30
$deferProp = new DeferProp(function (Request $request) {
0 commit comments