Skip to content

Commit eaf67a5

Browse files
Add missing TestDox attribute
1 parent 1d34e5d commit eaf67a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/unit/Framework/MockObject/MockObjectTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,7 @@ public function testWithCanBeUsedWithoutExpectsAndIsNotVerifiedWhenTheMethodIsNo
569569
$double->method('doSomethingElse')->with(1)->willReturn(2);
570570
}
571571

572+
#[TestDox('with() can be used without expects() and is verified when the method is called')]
572573
public function testWithCanBeUsedWithoutExpectsAndIsVerifiedWhenTheMethodIsCalled(): void
573574
{
574575
$double = $this->createTestDouble(InterfaceWithReturnTypeDeclaration::class);

0 commit comments

Comments
 (0)