public void testWithin() {

    PDP pdp = TestSupport.getPDP(TestSupport.getGeoXACMLFNFor("topology", "WithinPolicy.xml"));

    RequestCtx request = null;
    try {
      request =
          RequestCtx.getInstance(
              new FileInputStream(TestSupport.getGeoXACMLFNFor("topology", "WithinRequest.xml")));
    } catch (Exception e) {
      e.printStackTrace();
      Assert.fail(e.getMessage());
    }

    ResponseCtx response = pdp.evaluate(request);
    Result result = (Result) response.getResults().iterator().next();
    assertTrue(result.getDecision() == Result.DECISION_PERMIT);
    assertTrue(result.getStatus().getCode().iterator().next().equals(Status.STATUS_OK));
  }
 @Override
 protected void setUp() throws Exception {
   GeoXACML.initialize();
   TestSupport.initOutputDir();
 }