### Question:
JUnitVersion { public static boolean isGreaterThanOrEqualTo(String version) { final String currentVersion = getJUnitVersion(); return new VersionComparator().compare(currentVersion, version) >= 0; }  static boolean isGreaterThanOrEqualTo(String version); static String getJUnitVersion();  }### Answer:
@Test public void parses_version_numbers_with_chars() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.90b2"), is(false)); }
@Test public void parses_version_numbers_with_dash_snapshot() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.19-SNAPSHOT"), is(false)); }
@Test public void parses_version_numbers_with_dash_snapshot_where_version_is_before_current() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.1-SNAPSHOT"), is(true)); }
@Test public void parses_version_numbers_major_and_minor_versions() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.1.5"), is(true)); }
@Test public void parses_version_numbers_major_and_several_minor_versions() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.44.5.6"), is(false)); }
@Test public void parses_4_11_beta_1() { assertThat(JUnitVersion.isGreaterThanOrEqualTo("4.111-beta-1"), is(false)); }