public function testRemoveNotFoundScope()
 {
     $class = Car::class;
     $classDefinition = (new ClassDefinition())->setClassName($class)->addScope(new ControllerScope());
     $this->expectException(ScopeNotFoundException::class);
     $classDefinition->removeScope(ServiceScope::getId());
 }
 public function testScopeId()
 {
     static::assertEquals('service', ServiceScope::getId());
     static::assertEquals('controller', ControllerScope::getId());
 }