### Question:
Version implements Comparable<Version>, Serializable { @NotNull public Version truncateNegatives() { final int n = elements.length; for (int k = 0; k < n; k++) if (elements[k] < 0) return truncate(k); return this; } private  Version(@NotNull final int[] elements); static Version of(@NotNull final String string); static Version of(@NotNull final int... elements); static Version of(@NotNull final Integer[] elements); int get(int index); int size(); @NotNull Version truncate(final int n); @NotNull Version truncateNegatives(); int compareTo(@NotNull final Version that); int compareTo(final int... that); boolean isOrGreater(final int... than); boolean isOrGreater(@NotNull final Version than); boolean less(final int... than); boolean less(@NotNull final Version than); @Override boolean equals(final Object o); @Override int hashCode(); @NotNull String toString(); @NotNull String toString(int minimumElements, int maximumElements); @NotNull int[] toArray(); static final Version ZERO; }### Answer:
@Test public void truncateNegatives_ZERO() { assertThat(Version.ZERO.truncateNegatives()).isSameAs(Version.ZERO); }