diff options
Diffstat (limited to 'tests/Unit/Renderer/RendererTest.php')
-rw-r--r-- | tests/Unit/Renderer/RendererTest.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/Unit/Renderer/RendererTest.php b/tests/Unit/Renderer/RendererTest.php index 969ced7f..9304356a 100644 --- a/tests/Unit/Renderer/RendererTest.php +++ b/tests/Unit/Renderer/RendererTest.php @@ -4,8 +4,8 @@ namespace Engelsystem\Test\Unit\Renderer; use Engelsystem\Renderer\EngineInterface; use Engelsystem\Renderer\Renderer; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; -use PHPUnit_Framework_MockObject_MockObject as MockObject; use Psr\Log\LoggerInterface; class RendererTest extends TestCase @@ -14,7 +14,7 @@ class RendererTest extends TestCase { $renderer = new Renderer(); - /** @var MockObject|EngineInterface $nullRenderer */ + /** @var EngineInterface|MockObject $nullRenderer */ $nullRenderer = $this->getMockForAbstractClass(EngineInterface::class); $nullRenderer->expects($this->atLeastOnce()) @@ -22,7 +22,7 @@ class RendererTest extends TestCase ->willReturn(false); $renderer->addRenderer($nullRenderer); - /** @var MockObject|EngineInterface $mockRenderer */ + /** @var EngineInterface|MockObject $mockRenderer */ $mockRenderer = $this->getMockForAbstractClass(EngineInterface::class); $mockRenderer->expects($this->atLeastOnce()) @@ -45,7 +45,7 @@ class RendererTest extends TestCase { $renderer = new Renderer(); - /** @var MockObject|LoggerInterface $loggerMock */ + /** @var LoggerInterface|MockObject $loggerMock */ $loggerMock = $this->getMockForAbstractClass(LoggerInterface::class); $loggerMock ->expects($this->once()) |