Skip to content

Commit 0bab61c

Browse files
Delete useless test
1 parent 7209b74 commit 0bab61c

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

tests/_files/SingletonClass.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

tests/unit/Framework/MockObject/GeneratorTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
use PHPUnit\TestFixture\ExceptionWithThrowable;
2626
use PHPUnit\TestFixture\FinalClass;
2727
use PHPUnit\TestFixture\InterfaceWithSemiReservedMethodName;
28-
use PHPUnit\TestFixture\SingletonClass;
2928
use stdClass;
3029
use Throwable;
3130

@@ -219,13 +218,6 @@ public function testGetMockClassMethodsForNonExistantClass(): void
219218
$mock = $this->generator->mockClassMethods('Tux', true, true);
220219
}
221220

222-
public function testGetMockForSingletonWithReflectionSuccess(): void
223-
{
224-
$mock = $this->generator->getMock(SingletonClass::class, ['doSomething'], [], '', false);
225-
226-
$this->assertInstanceOf(SingletonClass::class, $mock);
227-
}
228-
229221
public function testExceptionIsRaisedForMutuallyExclusiveOptions(): void
230222
{
231223
$this->expectException(RuntimeException::class);

0 commit comments

Comments
 (0)