public function testRegister() { $app = new App(); $container = $app->getContainer(); $package = new Package(['alias' => 'foo']); $package->register($app); $this->assertTrue($container->has('foo')); }
public function testGetContainer() { $this->assertInstanceOf(ContainerInterface::class, $this->app->getContainer()); }