### Question:
PatchDescriptor implements DeepCloneable<PatchDescriptor> { @XmlElement(name = "version") public int getVersion() { return version; } PatchDescriptor();  PatchDescriptor(int version);  PatchDescriptor(List<PatchItem> items, int version);  PatchDescriptor(PatchDescriptor other); @Override PatchDescriptor deepClone(); @XmlElement(name = "version") int getVersion(); PatchDescriptor setVersion(int version); @XmlElement(name = "patch") List<PatchItem> getItems(); PatchDescriptor setItems(List<PatchItem> items); PatchDescriptor field(String name, String value); PatchDescriptor expression(String expression); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void createdPatchDescriptorWithOneParamsReturnCorrectInstance() { PatchDescriptor patchDescriptor = new PatchDescriptor(4); assertEquals(4, patchDescriptor.getVersion()); }