You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
engelsystem/tests/Unit/Container/ServiceProviderTest.php

28 lines
782 B
PHTML

<?php
namespace Engelsystem\Test\Unit\Container;
use Engelsystem\Container\ServiceProvider;
use Engelsystem\Test\Unit\Container\Stub\ServiceProviderImplementation;
use Engelsystem\Test\Unit\ServiceProviderTest;
class ConfigServiceProviderTest extends ServiceProviderTest
{
/**
* @covers \Engelsystem\Container\ServiceProvider::__construct
* @covers \Engelsystem\Container\ServiceProvider::register
* @covers \Engelsystem\Container\ServiceProvider::boot
*/
public function testRegister()
{
$app = $this->getApp();
$serviceProvider = new ServiceProviderImplementation($app);
$this->assertInstanceOf(ServiceProvider::class, $serviceProvider);
$serviceProvider->register();
$serviceProvider->boot();
}
}