test_class.file: core/src/test/java/io/spine/change/ChangePreconditionsTest.java
test_class.identifier: ChangePreconditionsTest
test_class.superclass: extends UtilityClassTest<ChangePreconditions>
test_case.body: @Test
      @DisplayName("not accept empty ByteString value")
      void failOnEmptyByteString() {
          ByteString str = ByteString.EMPTY;
          assertThrows(IllegalArgumentException.class, () -> checkNewValueNotEmpty(str));
      }
test_case.class_method_signature: ChangePreconditionsTest.failOnEmptyByteString()
test_case.full_signature: @Test @DisplayName("not accept empty ByteString value") void failOnEmptyByteString()
test_case.identifier: failOnEmptyByteString
test_case.invocations: assertThrows checkNewValueNotEmpty
test_case.modifiers: @Test @DisplayName("not accept empty ByteString value")
test_case.parameters: ()
test_case.return: void
test_case.signature: void failOnEmptyByteString()
focal_class.declarator: NEW_VALUE_CANNOT_BE_EMPTY =
              "newValue cannot be empty"
focal_class.modifier: private static final
focal_class.original_string: private static final String NEW_VALUE_CANNOT_BE_EMPTY =
              "newValue cannot be empty";
focal_class.type: String
focal_class.var_name: NEW_VALUE_CANNOT_BE_EMPTY
focal_class.declarator: VALUES_CANNOT_BE_EQUAL =
              "newValue cannot be equal to previousValue"
focal_class.modifier: private static final
focal_class.original_string: private static final String VALUES_CANNOT_BE_EQUAL =
              "newValue cannot be equal to previousValue";
focal_class.type: String
focal_class.var_name: VALUES_CANNOT_BE_EQUAL
focal_class.declarator: ERR_CANNOT_BE_EQUAL =
              "`expected` and `actual` cannot be equal in ValueMismatch"
focal_class.modifier: private static final
focal_class.original_string: private static final String ERR_CANNOT_BE_EQUAL =
              "`expected` and `actual` cannot be equal in ValueMismatch";
focal_class.type: String
focal_class.var_name: ERR_CANNOT_BE_EQUAL
focal_class.file: core/src/main/java/io/spine/change/ChangePreconditions.java
focal_class.identifier: ChangePreconditions
focal_class.class_method_signature: ChangePreconditions.ChangePreconditions()
focal_class.full_signature: private  ChangePreconditions()
focal_class.identifier: ChangePreconditions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ChangePreconditions()
focal_class.class_method_signature: ChangePreconditions.checkNotEqual(int previousValue, int newValue)
focal_class.full_signature: static void checkNotEqual(int previousValue, int newValue)
focal_class.identifier: checkNotEqual
focal_class.modifiers: static
focal_class.parameters: (int previousValue, int newValue)
focal_class.return: void
focal_class.signature: void checkNotEqual(int previousValue, int newValue)
focal_class.class_method_signature: ChangePreconditions.checkNotEqual(long previousValue, long newValue)
focal_class.full_signature: static void checkNotEqual(long previousValue, long newValue)
focal_class.identifier: checkNotEqual
focal_class.modifiers: static
focal_class.parameters: (long previousValue, long newValue)
focal_class.return: void
focal_class.signature: void checkNotEqual(long previousValue, long newValue)
focal_class.class_method_signature: ChangePreconditions.checkNotEqual(float previousValue, float newValue)
focal_class.full_signature: static void checkNotEqual(float previousValue, float newValue)
focal_class.identifier: checkNotEqual
focal_class.modifiers: static
focal_class.parameters: (float previousValue, float newValue)
focal_class.return: void
focal_class.signature: void checkNotEqual(float previousValue, float newValue)
focal_class.class_method_signature: ChangePreconditions.checkNotEqual(double previousValue, double newValue)
focal_class.full_signature: static void checkNotEqual(double previousValue, double newValue)
focal_class.identifier: checkNotEqual
focal_class.modifiers: static
focal_class.parameters: (double previousValue, double newValue)
focal_class.return: void
focal_class.signature: void checkNotEqual(double previousValue, double newValue)
focal_class.class_method_signature: ChangePreconditions.checkNotEqual(T previousValue, T newValue)
focal_class.full_signature: static void checkNotEqual(T previousValue, T newValue)
focal_class.identifier: checkNotEqual
focal_class.modifiers: static
focal_class.parameters: (T previousValue, T newValue)
focal_class.return: void
focal_class.signature: void checkNotEqual(T previousValue, T newValue)
focal_class.class_method_signature: ChangePreconditions.checkNewValueNotEmpty(ByteString newValue)
focal_class.full_signature: static void checkNewValueNotEmpty(ByteString newValue)
focal_class.identifier: checkNewValueNotEmpty
focal_class.modifiers: static
focal_class.parameters: (ByteString newValue)
focal_class.return: void
focal_class.signature: void checkNewValueNotEmpty(ByteString newValue)
focal_class.class_method_signature: ChangePreconditions.checkNewValueNotEmpty(String newValue)
focal_class.full_signature: static void checkNewValueNotEmpty(String newValue)
focal_class.identifier: checkNewValueNotEmpty
focal_class.modifiers: static
focal_class.parameters: (String newValue)
focal_class.return: void
focal_class.signature: void checkNewValueNotEmpty(String newValue)
focal_class.class_method_signature: ChangePreconditions.checkNotNullOrEqual(Object expected, Object actual)
focal_class.full_signature: static void checkNotNullOrEqual(Object expected, Object actual)
focal_class.identifier: checkNotNullOrEqual
focal_class.modifiers: static
focal_class.parameters: (Object expected, Object actual)
focal_class.return: void
focal_class.signature: void checkNotNullOrEqual(Object expected, Object actual)
focal_method.body: static void checkNewValueNotEmpty(ByteString newValue) {
          checkNotNull(newValue);
          checkArgument(!newValue.isEmpty(), NEW_VALUE_CANNOT_BE_EMPTY);
      }
focal_method.class_method_signature: ChangePreconditions.checkNewValueNotEmpty(ByteString newValue)
focal_method.full_signature: static void checkNewValueNotEmpty(ByteString newValue)
focal_method.identifier: checkNewValueNotEmpty
focal_method.invocations: checkNotNull checkArgument isEmpty
focal_method.modifiers: static
focal_method.parameters: (ByteString newValue)
focal_method.return: void
focal_method.signature: void checkNewValueNotEmpty(ByteString newValue)