Platform { public void setVersion(String version) { this.version = version; } Platform(String name);  Platform(String name, String version);  Platform(Platform platform); String getName(); void setName(String name); String getVersion(); void setVersion(String version);  }
@Test public void setVersion() { Platform platform = new Platform("ubuntu", "18.04"); platform.setVersion("16.04"); assertEquals("16.04", platform.getVersion()); }