for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Lichtenwallner (https://lichtenwallner.at)
*
* @see https://github.com/jolicht/markdown-cms for the canonical source repository
* @license https://github.com/jolicht/markdown-cms/blob/master/LICENSE MIT
* @copyright Copyright (c) Johannes Lichtenwallner
*/
declare(strict_types = 1);
namespace Jolicht\MarkdownCms;
use PHPUnit\Framework\TestCase;
use Reddogs\Test\AuraDi\ContainerAwareTrait;
class ContainerConfigTest extends TestCase
{
use ContainerAwareTrait;
protected function setUp()
$this->setConfigProviders([ModuleConfig::class]);
$this->setContainerConfigs([ContainerConfig::class]);
$this->setUpContainer();
}
public function testDefine()
$container = $this->getContainer();
$x = $container->get(\Sabre\Xml\Writer::class);
$this->assertSame($x, $container->get(\Sabre\Xml\Writer::class));