test_class.file: server/src/test/java/io/spine/server/delivery/EndpointsTest.java
test_class.identifier: EndpointsTest
test_case.body: @Test
      @DisplayName("allow to append endpoint providers and remember the last one per label")
      void appendEndpoint() {
          Endpoints<String, CommandEnvelope> endpoints = new Endpoints<>();
  
          MessageEndpoint<String, CommandEnvelope> first = noOpEndpoint();
          MessageEndpoint<String, CommandEnvelope> second = noOpEndpoint();
          LazyEndpoint<String, CommandEnvelope> firstProvider = envelope -> first;
          LazyEndpoint<String, CommandEnvelope> secondProvider = envelope -> second;
  
          InboxLabel label = HANDLE_COMMAND;
  
          endpoints.add(label, firstProvider);
          checkContains(endpoints, label, first);
  
          endpoints.add(label, secondProvider);
          checkContains(endpoints, label, second);
      }
test_case.class_method_signature: EndpointsTest.appendEndpoint()
test_case.full_signature: @Test @DisplayName("allow to append endpoint providers and remember the last one per label") void appendEndpoint()
test_case.identifier: appendEndpoint
test_case.invocations: noOpEndpoint noOpEndpoint add checkContains add checkContains
test_case.modifiers: @Test @DisplayName("allow to append endpoint providers and remember the last one per label")
test_case.parameters: ()
test_case.return: void
test_case.signature: void appendEndpoint()
focal_class.declarator: endpoints =
              new EnumMap<>(InboxLabel.class)
focal_class.modifier: private final
focal_class.original_string: private final Map<InboxLabel, LazyEndpoint<I, M>> endpoints =
              new EnumMap<>(InboxLabel.class);
focal_class.type: Map<InboxLabel, LazyEndpoint<I, M>>
focal_class.var_name: endpoints
focal_class.file: server/src/main/java/io/spine/server/delivery/Endpoints.java
focal_class.identifier: Endpoints
focal_class.class_method_signature: Endpoints.add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_class.full_signature:  void add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_class.identifier: add
focal_class.parameters: (InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_class.return: void
focal_class.signature: void add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_class.class_method_signature: Endpoints.get(InboxLabel label, M envelope)
focal_class.full_signature:  Optional<MessageEndpoint<I, M>> get(InboxLabel label, M envelope)
focal_class.identifier: get
focal_class.parameters: (InboxLabel label, M envelope)
focal_class.return: Optional<MessageEndpoint<I, M>>
focal_class.signature: Optional<MessageEndpoint<I, M>> get(InboxLabel label, M envelope)
focal_class.class_method_signature: Endpoints.isEmpty()
focal_class.full_signature:  boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_method.body: void add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint) {
          endpoints.put(label, lazyEndpoint);
      }
focal_method.class_method_signature: Endpoints.add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_method.full_signature:  void add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_method.identifier: add
focal_method.invocations: put
focal_method.parameters: (InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)
focal_method.return: void
focal_method.signature: void add(InboxLabel label, LazyEndpoint<I, M> lazyEndpoint)