@Override
    public String toString() {
        return StringUtils.join(versionParts, '.');
    }
@Test
    public void testToString() {
        DependencyVersion instance = new DependencyVersion("1.2.3r1");
        String expResult = "1.2.3.r1";
        String result = instance.toString();
        assertEquals(expResult, result);
    }