this.validateXmlHasNoPackageNames(resourceResponse);
}
@Test
public void testScheduledServiceMonthlyResource() {
ScheduledServiceMonthlyResource resource = new ScheduledServiceMonthlyResource();
resource.setId("Id");
resource.setSchedule("monthly");
resource.setTypeId("TypeId");
resource.setAlertEmail("foo@bar.org");
resource.setName("Name");
resource.setEnabled(true);
resource.setRecurringTime("recurringTime");
resource.addRecurringDay("recurringDay1");
resource.addRecurringDay("recurringDay2");
ScheduledServicePropertyResource prop1 = new ScheduledServicePropertyResource();
prop1.setKey("id1");
prop1.setValue("value1");
resource.addProperty(prop1);
ScheduledServicePropertyResource prop2 = new ScheduledServicePropertyResource();
prop2.setKey("id2");
prop2.setValue("value2");
resource.addProperty(prop2);
ScheduledServiceResourceResponse resourceResponse = new ScheduledServiceResourceResponse();
resourceResponse.setData(resource);
this.marshalUnmarchalThenCompare(resourceResponse);