public function assertHasDefinition($id) { $this->assertTrue($this->configuration->hasDefinition($id) ?: $this->configuration->hasAlias($id)); }