@Test
public void testEvaluatePolicyForTrying_Given_Correct_Policy_Success_IT() {

	// Arrange
	final PolicyDecisionPointImpl thePdp = new PolicyDecisionPointImpl(
			null, new RequestGenerator(), new DocumentAccessorImpl(),
			new DocumentXmlConverterImpl(), auditServiceMock);
	// Read policy file from resource
	final String policyFileUri = "xacmlPolicyForTrying.xml";
	final String xacmlPolicy = ResourceFileReader
			.getStringFromResourceFile(policyFileUri);
	// Act
	final XacmlResponse xacmlResponse = thePdp.evaluatePolicyForTrying(
			xacmlPolicy, "TREATMENT").getXacmlResponse();
	// Assert
	assertEquals(xacmlResponse.getPdpDecision().toLowerCase(), "permit");
	assertEquals(xacmlResponse.getPdpObligation().size(), 11);
}