@Test public void getProviderIdTest() throws JAXBException { JAXBContext jaxbContext = JAXBContext.newInstance(SLA.class); Unmarshaller jaxbUnmarshaller = jaxbContext.createUnmarshaller(); SLA slaAgreement = (SLA) jaxbUnmarshaller.unmarshal(new StringReader(slaAgreementString)); assertEquals("1", slaAgreement.getProperties().getEntries().get(0).getValue()); assertEquals("ProviderUUid", slaAgreement.getProperties().getEntries().get(0).getKey()); }
public Properties getProperties() { return properties; }
SLA { public Properties getProperties() { return properties; } }
SLA { public Properties getProperties() { return properties; }  }
SLA { public Properties getProperties() { return properties; }  String getUuid(); void setUuid(String uuid); List<AgreementTerm> getAgreementTerms(); void setAgreementTerms(List<AgreementTerm> agreementTerms); Properties getProperties(); void setProperties(Properties properties); }
SLA { public Properties getProperties() { return properties; }  String getUuid(); void setUuid(String uuid); List<AgreementTerm> getAgreementTerms(); void setAgreementTerms(List<AgreementTerm> agreementTerms); Properties getProperties(); void setProperties(Properties properties);  }