@Test
public void testCorrectVersion() {

    assertThat(JavaVersion.parseIsJava6("1.6")).isTrue();
    assertThat(JavaVersion.parseIsJava6("1.6.0")).isTrue();
    assertThat(JavaVersion.parseIsJava6("1.6.0_45")).isTrue();
}