File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tests/unit/Framework/MockObject Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -312,10 +312,10 @@ public function testGetHookForPropertyOfExtendableClassCanBeConfigured(): void
312312 $ this ->assertSame ('value ' , $ double ->property );
313313 }
314314
315- #[TestDox('Sealed stub throws exception when method() is called ' )]
316- public function testSealedStubThrowsExceptionWhenMethodIsCalled (): void
315+ #[TestDox('Sealed test double throws exception when method() is called ' )]
316+ public function testSealedTestDoubleThrowsExceptionWhenMethodIsCalled (): void
317317 {
318- $ stub = $ this ->createStub (InterfaceWithReturnTypeDeclaration::class);
318+ $ stub = $ this ->createTestDouble (InterfaceWithReturnTypeDeclaration::class);
319319
320320 $ stub
321321 ->method ('doSomething ' )
@@ -327,10 +327,10 @@ public function testSealedStubThrowsExceptionWhenMethodIsCalled(): void
327327 $ stub ->method ('doSomethingElse ' );
328328 }
329329
330- #[TestDox('Cloned sealed stub remains sealed ' )]
331- public function testClonedSealedStubRemainsSealed (): void
330+ #[TestDox('Cloned sealed test double remains sealed ' )]
331+ public function testClonedSealedTestDoubleRemainsSealed (): void
332332 {
333- $ stub = $ this ->createStub (InterfaceWithReturnTypeDeclaration::class);
333+ $ stub = $ this ->createTestDouble (InterfaceWithReturnTypeDeclaration::class);
334334
335335 $ stub
336336 ->method ('doSomething ' )
You can’t perform that action at this time.
0 commit comments