@Test
public void testIsSatisfiedByEmpty() throws Exception {

  PresentationTokenDescription pt =
    (PresentationTokenDescription) XmlUtils.getObjectFromXML(getClass().getResourceAsStream(
        "/eu/abc4trust/sampleXml/presentationTokens/emptyPolicy.xml"), true);
  PresentationPolicyAlternatives ppa =
    (PresentationPolicyAlternatives) XmlUtils.getObjectFromXML(getClass().getResourceAsStream(
        "/eu/abc4trust/sampleXml/presentationPolicies/emptyPolicy.xml"), true);
  MyPresentationPolicy mypp = new MyPresentationPolicy(ppa.getPresentationPolicy().get(0));
  
  assertTrue(mypp.isSatisfiedBy(pt, null, null));
}