void (@NotNull String version, int expectedMajor, int expectedMinor, int expectedPatch, @Nullable String expectedPreRelease) { assertThat(parse(version)).isEqualTo(new SemVer(version, expectedMajor, expectedMinor, expectedPatch, expectedPreRelease)); }