SeaCloudsApplicationData implements Serializable { static String extractName(Map toscaDamMap) { return (String) toscaDamMap.get(YAML_DESCRIPTION_TAG); } SeaCloudsApplicationData(String toscaDam);   SeaCloudsApplicationData(Map toscaDamMap); void setDeployerApplicationId(ApplicationSummary application); void setDeployerApplicationId(TaskSummary applicationTask); void setMonitoringRulesIds(MonitoringRules monitoringRules); void setAgreementId(Agreement agreement); @JsonProperty String getSeaCloudsApplicationId(); @JsonProperty String getName(); @JsonProperty Set<String> getMonitoringRulesIds(); @JsonProperty String getAgreementId(); @JsonProperty String getToscaDam(); @JsonProperty String getDeployerApplicationId(); @JsonProperty Status getDeploymentStatus(); @JsonProperty IGuaranteeTerm.GuaranteeTermStatusEnum getAgreementStatus(); void setAgreementStatus(IGuaranteeTerm.GuaranteeTermStatusEnum agreementStatus); void setDeploymentStatus(Status deploymentStatus); @Override boolean equals(Object o); @Override int hashCode();  }
@Test public void testExtractName() { String toscaDamName = SeaCloudsApplicationData.extractName(toscaDamMap); assertEquals(toscaDamName, DESCRIPTION); }