public function testBuildDefinitionsOverride() { $definitions = ['settings' => 'foo', 'foo' => 'baz']; $container = ContainerBuilder::build([], $definitions); self::assertEquals('foo', $container->get('settings')); self::assertEquals('baz', $container->get('foo')); }
public function setUp() { $this->container = ContainerBuilder::build(); }