@Test
    public void testToString() {
        assertEquals(
            "SupportedVersionRange[min_version:1, max_version:1]",
            new SupportedVersionRange((short) 1, (short) 1).toString());
        assertEquals(
            "SupportedVersionRange[min_version:1, max_version:2]",
            new SupportedVersionRange((short) 1, (short) 2).toString());
    }
Unit tests for the SupportedVersionRange class.
Along the way, this suite also includes extensive tests for the base class BaseVersionRange.
clients/src/test/java/org/apache/kafka/common/feature/SupportedVersionRangeTest.java