this.validateXmlHasNoPackageNames(resourceResponse);
}
@Test
public void testScheduledServiceTypeResourceResponse() {
ScheduledServiceTypeResourceResponse resourceResponse = new ScheduledServiceTypeResourceResponse();
ScheduledServiceTypeResource item1 = new ScheduledServiceTypeResource();
item1.setId("id1");
item1.setName("name1");
FormFieldResource prop1 = new FormFieldResource();
prop1.setHelpText("helpText1");
prop1.setId("id1");
prop1.setLabel("name1");
prop1.setRequired(true);
prop1.setType("type1");
prop1.setRegexValidation("regex");
item1.addFormField(prop1);
FormFieldResource prop2 = new FormFieldResource();
prop2.setHelpText("helpText2");
prop2.setId("id2");
prop2.setLabel("name2");
prop2.setRequired(true);
prop2.setType("type2");
prop2.setRegexValidation("regex2");
item1.addFormField(prop2);
ScheduledServiceTypeResource item2 = new ScheduledServiceTypeResource();
item2.setId("id1");
item2.setName("name1");
FormFieldResource prop3 = new FormFieldResource();
prop3.setHelpText("helpText3");
prop3.setId("id3");
prop3.setLabel("name3");
prop3.setRequired(true);
prop3.setType("type3");
prop3.setRegexValidation("regex3");
item2.addFormField(prop3);
FormFieldResource prop4 = new FormFieldResource();
prop4.setHelpText("helpText4");
prop4.setId("id4");
prop4.setLabel("name4");
prop4.setRequired(true);
prop4.setType("type4");
prop4.setRegexValidation("regex4");
item2.addFormField(prop4);
resourceResponse.addData(item1);
resourceResponse.addData(item2);
this.marshalUnmarchalThenCompare(resourceResponse);
this.validateXmlHasNoPackageNames(resourceResponse);
}