test_class.declarator: ID = CommandId.generate()
test_class.modifier: public static final
test_class.original_string: public static final CommandId ID = CommandId.generate();
test_class.type: CommandId
test_class.var_name: ID
test_class.file: server/src/test/java/io/spine/server/bus/AcksTest.java
test_class.identifier: AcksTest
test_case.body: @Test
      @DisplayName("create 'reject with Error' `Ack` instance")
      void rejectWithError() {
          Error error = Error
                  .newBuilder()
                  .setType(AcksTest.class.getCanonicalName())
                  .setMessage("A test error.")
                  .build();
          Ack ack = Acks.reject(ID, error);
          assertIdEquals(ack);
          assertStatusCase(ack, ERROR);
      }
test_case.class_method_signature: AcksTest.rejectWithError()
test_case.full_signature: @Test @DisplayName("create 'reject with Error' `Ack` instance") void rejectWithError()
test_case.identifier: rejectWithError
test_case.invocations: build setMessage setType newBuilder getCanonicalName reject assertIdEquals assertStatusCase
test_case.modifiers: @Test @DisplayName("create 'reject with Error' `Ack` instance")
test_case.parameters: ()
test_case.return: void
test_case.signature: void rejectWithError()
focal_class.file: server/src/main/java/io/spine/server/bus/Acks.java
focal_class.identifier: Acks
focal_class.class_method_signature: Acks.Acks()
focal_class.full_signature: private  Acks()
focal_class.identifier: Acks
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Acks()
focal_class.class_method_signature: Acks.acknowledge(Message id)
focal_class.full_signature: public static Ack acknowledge(Message id)
focal_class.identifier: acknowledge
focal_class.modifiers: public static
focal_class.parameters: (Message id)
focal_class.return: Ack
focal_class.signature: Ack acknowledge(Message id)
focal_class.class_method_signature: Acks.reject(Message id, Error cause)
focal_class.full_signature: public static Ack reject(Message id, Error cause)
focal_class.identifier: reject
focal_class.modifiers: public static
focal_class.parameters: (Message id, Error cause)
focal_class.return: Ack
focal_class.signature: Ack reject(Message id, Error cause)
focal_class.class_method_signature: Acks.reject(Message id, RejectionEnvelope cause)
focal_class.full_signature: public static Ack reject(Message id, RejectionEnvelope cause)
focal_class.identifier: reject
focal_class.modifiers: public static
focal_class.parameters: (Message id, RejectionEnvelope cause)
focal_class.return: Ack
focal_class.signature: Ack reject(Message id, RejectionEnvelope cause)
focal_class.class_method_signature: Acks.setStatus(Message id, Status status)
focal_class.full_signature: private static Ack setStatus(Message id, Status status)
focal_class.identifier: setStatus
focal_class.modifiers: private static
focal_class.parameters: (Message id, Status status)
focal_class.return: Ack
focal_class.signature: Ack setStatus(Message id, Status status)
focal_method.body: public static Ack reject(Message id, Error cause) {
          checkNotDefaultArg(id);
          checkNotDefaultArg(cause);
          Status status = Status
                  .newBuilder()
                  .setError(cause)
                  .build();
          return setStatus(id, status);
      }
focal_method.class_method_signature: Acks.reject(Message id, Error cause)
focal_method.full_signature: public static Ack reject(Message id, Error cause)
focal_method.identifier: reject
focal_method.invocations: checkNotDefaultArg checkNotDefaultArg build setError newBuilder setStatus
focal_method.modifiers: public static
focal_method.parameters: (Message id, Error cause)
focal_method.return: Ack
focal_method.signature: Ack reject(Message id, Error cause)