@Test
public void testNormalizeList() {

    Assert.assertEquals(Version.normalizedList(Arrays.asList(0)), Collections.singletonList(0));
    Assert.assertEquals(Version.normalizedList(Arrays.asList(0, 0)), Collections.singletonList(0));
    Assert.assertEquals(Version.normalizedList(Arrays.asList(23, 0, 4)), Arrays.asList(23, 0, 4));
    Assert.assertEquals(Version.normalizedList(Arrays.asList(23, 0, 0, 0)), Arrays.asList(23));
    Assert.assertEquals(Version.normalizedList(Arrays.asList(2, 1, 0)), Arrays.asList(2, 1));
}