@NotNull
    @Override
    public Iterator<String> iterator() {
        return versionParts.iterator();
    }
@Test
    public void testIterator() {
        DependencyVersion instance = new DependencyVersion("1.2.3");
        Iterator<String> result = instance.iterator();
        assertTrue(result.hasNext());
        int count = 1;
        while (result.hasNext()) {
            String v = result.next();
            assertTrue(String.valueOf(count++).equals(v));
        }
    }