test_class.file: core/src/test/java/io/spine/core/VersionsTest.java
test_class.identifier: VersionsTest
test_case.body: @Test
      @DisplayName("increment Version")
      void increment() {
          Version v1 = GivenVersion.withNumber(1);
          assertEquals(v1.getNumber() + 1, Versions.increment(v1)
                                                   .getNumber());
      }
test_case.class_method_signature: VersionsTest.increment()
test_case.full_signature: @Test @DisplayName("increment Version") void increment()
test_case.identifier: increment
test_case.invocations: withNumber assertEquals getNumber getNumber increment
test_case.modifiers: @Test @DisplayName("increment Version")
test_case.parameters: ()
test_case.return: void
test_case.signature: void increment()
focal_class.file: core/src/main/java/io/spine/core/Versions.java
focal_class.identifier: Versions
focal_class.class_method_signature: Versions.Versions()
focal_class.full_signature: private  Versions()
focal_class.identifier: Versions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  Versions()
focal_class.class_method_signature: Versions.create(int number, Timestamp timestamp)
focal_class.full_signature: private static Version create(int number, Timestamp timestamp)
focal_class.identifier: create
focal_class.modifiers: private static
focal_class.parameters: (int number, Timestamp timestamp)
focal_class.return: Version
focal_class.signature: Version create(int number, Timestamp timestamp)
focal_class.class_method_signature: Versions.zero()
focal_class.full_signature: public static Version zero()
focal_class.identifier: zero
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Version
focal_class.signature: Version zero()
focal_class.class_method_signature: Versions.newVersion(int number, Timestamp timestamp)
focal_class.full_signature: public static Version newVersion(int number, Timestamp timestamp)
focal_class.identifier: newVersion
focal_class.modifiers: public static
focal_class.parameters: (int number, Timestamp timestamp)
focal_class.return: Version
focal_class.signature: Version newVersion(int number, Timestamp timestamp)
focal_class.class_method_signature: Versions.increment(Version version)
focal_class.full_signature: public static Version increment(Version version)
focal_class.identifier: increment
focal_class.modifiers: public static
focal_class.parameters: (Version version)
focal_class.return: Version
focal_class.signature: Version increment(Version version)
focal_class.class_method_signature: Versions.checkIsIncrement(Version currentVersion, Version newVersion)
focal_class.full_signature: public static void checkIsIncrement(Version currentVersion, Version newVersion)
focal_class.identifier: checkIsIncrement
focal_class.modifiers: public static
focal_class.parameters: (Version currentVersion, Version newVersion)
focal_class.return: void
focal_class.signature: void checkIsIncrement(Version currentVersion, Version newVersion)
focal_method.body: public static Version increment(Version version) {
          checkNotNull(version);
          Version result = create(version.getNumber() + 1, currentTime());
          return result;
      }
focal_method.class_method_signature: Versions.increment(Version version)
focal_method.full_signature: public static Version increment(Version version)
focal_method.identifier: increment
focal_method.invocations: checkNotNull create getNumber currentTime
focal_method.modifiers: public static
focal_method.parameters: (Version version)
focal_method.return: Version
focal_method.signature: Version increment(Version version)