@Test
public void test() throws JAXBException, IOException {

	// read rls service xml
	InputStream is = ServiceTypePackageVerifierTest.class
			.getResourceAsStream("rls-services-example.xml");
	JAXBContext context = JAXBContext.newInstance("org.openxdm.xcap.client.appusage.rlsservices.jaxb");
	Unmarshaller unmarshaller = context.createUnmarshaller();
	RlsServices rlsServices = (RlsServices) unmarshaller.unmarshal(is);		
	is.close();
	Assert
			.assertTrue(new ServiceTypePackageVerifier().hasPackage(rlsServices.getService().get(0), "presence"));
	
}