test_class.file: server/src/test/java/io/spine/server/delivery/EndpointsTest.java
test_class.identifier: EndpointsTest
test_case.body: @Test
      @DisplayName("return `Optional.empty()` if no endpoint providers configured for the label")
      void returnEmpty() {
          Endpoints<String, CommandEnvelope> endpoints = new Endpoints<>();
          Optional<MessageEndpoint<String, CommandEnvelope>> result =
                  endpoints.get(REACT_UPON_EVENT, cmdEnvelope());
          assertThat(result.isPresent()).isFalse();
      }
test_case.class_method_signature: EndpointsTest.returnEmpty()
test_case.full_signature: @Test @DisplayName("return `Optional.empty()` if no endpoint providers configured for the label") void returnEmpty()
test_case.identifier: returnEmpty
test_case.invocations: get cmdEnvelope isFalse assertThat isPresent
test_case.modifiers: @Test @DisplayName("return `Optional.empty()` if no endpoint providers configured for the label")
test_case.parameters: ()
test_case.return: void
test_case.signature: void returnEmpty()
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: Optional<MessageEndpoint<I, M>> get(InboxLabel label, M envelope) {
          if (!endpoints.containsKey(label)) {
              return Optional.empty();
          }
          return Optional.of(endpoints.get(label)
                                      .apply(envelope));
      }
focal_method.class_method_signature: Endpoints.get(InboxLabel label, M envelope)
focal_method.full_signature:  Optional<MessageEndpoint<I, M>> get(InboxLabel label, M envelope)
focal_method.identifier: get
focal_method.invocations: containsKey empty of apply get
focal_method.parameters: (InboxLabel label, M envelope)
focal_method.return: Optional<MessageEndpoint<I, M>>
focal_method.signature: Optional<MessageEndpoint<I, M>> get(InboxLabel label, M envelope)