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.
2 parents ec5b137 + eaf67a5 commit e4eca13Copy full SHA for e4eca13
tests/unit/Framework/MockObject/MockObjectTest.php
@@ -540,6 +540,7 @@ public function testWithCanBeUsedWithoutExpectsAndIsNotVerifiedWhenTheMethodIsNo
540
$double->method('doSomethingElse')->with(1)->willReturn(2);
541
}
542
543
+ #[TestDox('with() can be used without expects() and is verified when the method is called')]
544
public function testWithCanBeUsedWithoutExpectsAndIsVerifiedWhenTheMethodIsCalled(): void
545
{
546
$double = $this->createTestDouble(InterfaceWithReturnTypeDeclaration::class);
0 commit comments