private void assertToShortString(String verStr, String expectedShortString) { Version ver = new Version(verStr); assertThat( "Version [" + verStr + "].toShortString", ver.toShortString(), is(expectedShortString)); }