public void testServiceMarshalling() throws JAXBException {
Service service = new Service();
service.setServiceID("myPID");
service.getSimpleProps().add(new SimpleProperty("x", "y"));
ArrayProperty array = new ArrayProperty("people");
array.addEntry("john");
array.addEntry("martha");
service.getArrayProps().add(array);
String s = marshalObject(service);
assertTrue(s.contains("<service pid=\"myPID\""));