test_class.declarator: registry
test_class.modifier: private
test_class.original_string: private CommandDispatcherRegistry registry;
test_class.type: CommandDispatcherRegistry
test_class.var_name: registry
test_class.file: server/src/test/java/io/spine/server/commandbus/CommandDispatcherRegistryTest.java
test_class.identifier: CommandDispatcherRegistryTest
test_case.body: @Test
      @DisplayName("state both dispatched and handled commands as supported")
      void supportDispatchedAndHandled() {
          registry.register(new CreateProjectHandler());
          registry.register(new AddTaskDispatcher());
  
          assertSupported(CmdBusCreateProject.class, CmdBusAddTask.class);
      }
test_case.class_method_signature: CommandDispatcherRegistryTest.supportDispatchedAndHandled()
test_case.full_signature: @Test @DisplayName("state both dispatched and handled commands as supported") void supportDispatchedAndHandled()
test_case.identifier: supportDispatchedAndHandled
test_case.invocations: register register assertSupported
test_case.modifiers: @Test @DisplayName("state both dispatched and handled commands as supported")
test_case.parameters: ()
test_case.return: void
test_case.signature: void supportDispatchedAndHandled()
focal_class.file: server/src/main/java/io/spine/server/commandbus/CommandDispatcherRegistry.java
focal_class.identifier: CommandDispatcherRegistry
focal_class.class_method_signature: CommandDispatcherRegistry.register(CommandDispatcher dispatcher)
focal_class.full_signature: @Override public void register(CommandDispatcher dispatcher)
focal_class.identifier: register
focal_class.modifiers: @Override public
focal_class.parameters: (CommandDispatcher dispatcher)
focal_class.return: void
focal_class.signature: void register(CommandDispatcher dispatcher)
focal_class.class_method_signature: CommandDispatcherRegistry.checkDispatcher(CommandDispatcher dispatcher)
focal_class.full_signature: @Override protected void checkDispatcher(CommandDispatcher dispatcher)
focal_class.identifier: checkDispatcher
focal_class.modifiers: @Override protected
focal_class.parameters: (CommandDispatcher dispatcher)
focal_class.return: void
focal_class.signature: void checkDispatcher(CommandDispatcher dispatcher)
focal_class.class_method_signature: CommandDispatcherRegistry.checkNotAlreadyRegistered(CommandDispatcher dispatcher)
focal_class.full_signature: private void checkNotAlreadyRegistered(CommandDispatcher dispatcher)
focal_class.identifier: checkNotAlreadyRegistered
focal_class.modifiers: private
focal_class.parameters: (CommandDispatcher dispatcher)
focal_class.return: void
focal_class.signature: void checkNotAlreadyRegistered(CommandDispatcher dispatcher)
focal_class.class_method_signature: CommandDispatcherRegistry.doCheck(Map<CommandClass, CommandDispatcher> alreadyRegistered,
                                  Object registeringObject)
focal_class.full_signature: private static void doCheck(Map<CommandClass, CommandDispatcher> alreadyRegistered,
                                  Object registeringObject)
focal_class.identifier: doCheck
focal_class.modifiers: private static
focal_class.parameters: (Map<CommandClass, CommandDispatcher> alreadyRegistered,
                                  Object registeringObject)
focal_class.return: void
focal_class.signature: void doCheck(Map<CommandClass, CommandDispatcher> alreadyRegistered,
                                  Object registeringObject)
focal_class.class_method_signature: CommandDispatcherRegistry.registeredMessageClasses()
focal_class.full_signature: @Override protected Set<CommandClass> registeredMessageClasses()
focal_class.identifier: registeredMessageClasses
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: Set<CommandClass>
focal_class.signature: Set<CommandClass> registeredMessageClasses()
focal_class.class_method_signature: CommandDispatcherRegistry.unregisterAll()
focal_class.full_signature: @Override protected void unregisterAll()
focal_class.identifier: unregisterAll
focal_class.modifiers: @Override protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void unregisterAll()
focal_class.superclass: extends DispatcherRegistry<CommandClass, CommandEnvelope, CommandDispatcher>
focal_method.body: @Override
      public void register(CommandDispatcher dispatcher) {
          if (dispatcher instanceof DelegatingCommandDispatcher
                  && dispatcher.messageClasses().isEmpty()) {
              return;
          }
          super.register(dispatcher);
      }
focal_method.class_method_signature: CommandDispatcherRegistry.register(CommandDispatcher dispatcher)
focal_method.full_signature: @Override public void register(CommandDispatcher dispatcher)
focal_method.identifier: register
focal_method.invocations: isEmpty messageClasses register
focal_method.modifiers: @Override public
focal_method.parameters: (CommandDispatcher dispatcher)
focal_method.return: void
focal_method.signature: void register(CommandDispatcher dispatcher)