public function test_application_can_define_some_component() { $app = new Application(__DIR__); $app->define(new SomeDefinitionStub()); $this->assertEquals('concrete', $app->getRegistry()->getDefinitions()['abstract']); }