Platform { public void setName(String name) { this.name = name; } 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 setName() { Platform platform = new Platform("windows"); platform.setName("ubuntu"); assertEquals("ubuntu", platform.getName()); }