@Test public void constructor() { SLAAgreementHelper helper = new SLAAgreementHelper(slaAgreement2Text); assertNotNull(helper.getSla()); assertEquals("1a9a2a46-cfe5-477c-8508-94417955ab53", helper.getSla().getUuid()); helper = new SLAAgreementHelper("random text..."); assertNull(helper.getSla()); }
public SLA getSla() { return sla; }
SLAAgreementHelper { public SLA getSla() { return sla; } }
SLAAgreementHelper { public SLA getSla() { return sla; } SLAAgreementHelper(String slaString); }
SLAAgreementHelper { public SLA getSla() { return sla; } SLAAgreementHelper(String slaString); SLA getSla(); double getPowerUsagePerApp(); String getPowerUsagePerAppUnits(); double getPowerUsagePerOVFId(String ovfId); String getPowerUnitsPerOVFId(String ovfId); }
SLAAgreementHelper { public SLA getSla() { return sla; } SLAAgreementHelper(String slaString); SLA getSla(); double getPowerUsagePerApp(); String getPowerUsagePerAppUnits(); double getPowerUsagePerOVFId(String ovfId); String getPowerUnitsPerOVFId(String ovfId);  }