Added Container\ServiceProvider test
This commit is contained in:
parent
e15e863625
commit
a0cdd522da
|
@ -0,0 +1,22 @@
|
|||
<?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
|
||||
*/
|
||||
public function testRegister()
|
||||
{
|
||||
$app = $this->getApp();
|
||||
|
||||
$serviceProvider = new ServiceProviderImplementation($app);
|
||||
|
||||
$this->assertInstanceOf(ServiceProvider::class, $serviceProvider);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Engelsystem\Test\Unit\Container\Stub;
|
||||
|
||||
use Engelsystem\Container\ServiceProvider;
|
||||
|
||||
class ServiceProviderImplementation extends ServiceProvider
|
||||
{
|
||||
|
||||
}
|
Loading…
Reference in New Issue