File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
unit/Framework/MockObject/Creation Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 99 */
1010namespace PHPUnit \TestFixture \MockObject ;
1111
12- class ClassCallingMethodInConstructor
12+ class ExtendableClassCallingMethodInConstructor
1313{
1414 public function __construct ()
1515 {
Original file line number Diff line number Diff line change 2727use PHPUnit \Framework \MockObject \Generator \NameAlreadyInUseException ;
2828use PHPUnit \Framework \TestCase ;
2929use PHPUnit \TestFixture \MockObject \AbstractClass ;
30- use PHPUnit \TestFixture \MockObject \ClassCallingMethodInConstructor ;
30+ use PHPUnit \TestFixture \MockObject \ExtendableClassCallingMethodInConstructor ;
3131use PHPUnit \TestFixture \MockObject \ExtendableClass ;
3232use PHPUnit \TestFixture \MockObject \InterfaceWithReturnTypeDeclaration ;
3333use PHPUnit \TestFixture \MockObject \TraitWithConcreteAndAbstractMethod ;
@@ -170,7 +170,7 @@ public function testCreatesMockObjectForUnknownType(): void
170170 #[TestDox('Mocked methods can be called from the original constructor of a partially mocked class ' )]
171171 public function testOnlyMethodCalledInConstructorWorks (): void
172172 {
173- $ double = $ this ->getMockBuilder (ClassCallingMethodInConstructor ::class)
173+ $ double = $ this ->getMockBuilder (ExtendableClassCallingMethodInConstructor ::class)
174174 ->onlyMethods (['reset ' ])
175175 ->getMock ();
176176
You can’t perform that action at this time.
0 commit comments