@Test
void getType()
{

    assertEquals(Version.Type.SNAPSHOT, new DefaultVersion("1.1-SNAPSHOT").getType());
    assertEquals(Version.Type.BETA, new DefaultVersion("1.1-milestone-1").getType());
    assertEquals(Version.Type.STABLE, new DefaultVersion("1.1").getType());
}