public function exercise_test_container_make_with_default_arguments() { $container = new Container(); $this->assertInstanceOf(MailDummy::class, $container->make('MailDummy', ['url' => 'styde.net'])); }
public function test_bind_from_class_name() { $container = new Container(); $container->bind('key', 'Foo'); $this->assertInstanceOf('Foo', $container->make('key')); }