### Question:
Update { public Release getStable() { return getBranch(Branch.stable); }  Release getStable(); Release getTesting(); Release getBranch(Branch branch); Release getBranch(String branch); @Override String toString(); @XmlElementWrapper(name = "releases")
    @XmlElement(name = "release")
    public List<Release> releases; @XmlElementWrapper(name = "notifications")
    @XmlElement(name = "notification")
    public List<Notification> notifications; @XmlElement(name = "lastUpdate")
    public Date lastUpdate; }### Answer:
@Test public void deserializeTest() { try { Update u = Serializer.deserialize(Update.class, serialize, schema); assertNotNull(u.getStable().version); } catch (Exception e) { fail("deserialization failed: " + e); } }
@Test public void deserializeTest2() { try { Update u = Serializer.deserialize(Update.class, serialize, true); assertNotNull(u.getStable().version); } catch (Exception e) { fail("deserialization failed: " + e); } }