### Question:
WmsVersion implements Comparable<WmsVersion> { @Override public String toString() { return format("%d.%d.%d", major, minor, build); } WmsVersion(String version);  WmsVersion(int major, int minor, int build); int getMajor(); int getMinor(); int getBuild(); @Override int compareTo(WmsVersion o); @Override String toString(); String toVersionString(); static void validateVersion(String version);  }### Answer:
@Test public void testToString() { WmsVersion version = new WmsVersion("1.3"); assertThat(version.toString(), is("1.3.0")); }