summaryrefslogtreecommitdiff
path: root/tests/Unit/Renderer/RendererServiceProviderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Renderer/RendererServiceProviderTest.php')
-rw-r--r--tests/Unit/Renderer/RendererServiceProviderTest.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/Unit/Renderer/RendererServiceProviderTest.php b/tests/Unit/Renderer/RendererServiceProviderTest.php
index 6cdf4363..36263b0c 100644
--- a/tests/Unit/Renderer/RendererServiceProviderTest.php
+++ b/tests/Unit/Renderer/RendererServiceProviderTest.php
@@ -7,7 +7,7 @@ use Engelsystem\Renderer\HtmlEngine;
use Engelsystem\Renderer\Renderer;
use Engelsystem\Renderer\RendererServiceProvider;
use Engelsystem\Test\Unit\ServiceProviderTest;
-use PHPUnit_Framework_MockObject_MockObject;
+use PHPUnit\Framework\MockObject\MockObject;
class RendererServiceProviderTest extends ServiceProviderTest
{
@@ -18,10 +18,10 @@ class RendererServiceProviderTest extends ServiceProviderTest
*/
public function testRegister()
{
- /** @var PHPUnit_Framework_MockObject_MockObject|Renderer $renderer */
+ /** @var Renderer|MockObject $renderer */
$renderer = $this->getMockBuilder(Renderer::class)
->getMock();
- /** @var PHPUnit_Framework_MockObject_MockObject|HtmlEngine $htmlEngine */
+ /** @var HtmlEngine|MockObject $htmlEngine */
$htmlEngine = $this->getMockBuilder(HtmlEngine::class)
->getMock();
@@ -57,12 +57,12 @@ class RendererServiceProviderTest extends ServiceProviderTest
*/
public function testBoot()
{
- /** @var PHPUnit_Framework_MockObject_MockObject|Renderer $renderer */
+ /** @var Renderer|MockObject $renderer */
$renderer = $this->getMockBuilder(Renderer::class)
->getMock();
- /** @var PHPUnit_Framework_MockObject_MockObject|EngineInterface $engine1 */
+ /** @var EngineInterface|MockObject $engine1 */
$engine1 = $this->getMockForAbstractClass(EngineInterface::class);
- /** @var PHPUnit_Framework_MockObject_MockObject|EngineInterface $engine2 */
+ /** @var EngineInterface|MockObject $engine2 */
$engine2 = $this->getMockForAbstractClass(EngineInterface::class);
$app = $this->getApp(['get', 'tagged']);