### Question:
Alert extends ArchivableEntity { @XmlElement(name = "details") public final String getDetails() { return details; } Alert(final String details); protected  Alert(); @XmlElement(name = "device_name") final String getDeviceName(); final void setDeviceName(final String deviceName); String getDisplayTitle(); void setDisplayTitle(final String displayTitle); @XmlElement(name = "details") final String getDetails(); final void setDetails(final String details); @XmlElement(name = "report") final Report getReport(); final void setReport(
            final Report report); final void setPolicyId(final UUID policyId); final UUID getPolicyId(); @XmlElement(name = "baselineIds") final Set<UUID> getBaselineIds(); @XmlAttribute(name = "source") final AlertSource getSource(); final void setSource(final AlertSource source); @XmlAttribute(name = "type") final AlertType getType(); final void setType(final AlertType type); final String getExpected(); final String getReceived(); final void setExpectedAndReceived(final String expected,
            final String received); final void setBaselineIdsAndSeverity(final Set<Baseline> baselines); final void setSeverity(final AlertSeverity severity); final void clearBaseline(); final void clearBaselines(); @XmlAttribute(name = "severity") final AlertSeverity getSeverity(); @Override final String toString();  }### Answer:
@Test public void testDetails() { Alert alert = new Alert(TEST_DETAILS); Assert.assertEquals(alert.getDetails(), TEST_DETAILS); }