OnapPdpEngine extends ATTPDPEngine { @Override public Response decide(final Request pepRequest) throws PDPException { final Response response = super.decide(pepRequest); final FindAction findAction = new FindAction(); return findAction.run((StdMutableResponse) response, pepRequest); } OnapPdpEngine(final EvaluationContextFactory evaluationContextFactoryIn, final Decision defaultDecisionIn,
            final ScopeResolver scopeResolverIn, final Properties properties);  OnapPdpEngine(final EvaluationContextFactory evaluationContextFactoryIn, final Decision defaultDecisionIn,
            final ScopeResolver scopeResolverIn);  OnapPdpEngine(final EvaluationContextFactory evaluationContextFactoryIn,
            final ScopeResolver scopeResolverIn); @Override Response decide(final Request pepRequest);  }
@Test public void testEngine() throws PDPException { final EvaluationContextFactory factory = Mockito.mock(EvaluationContextFactory.class); final ScopeResolver resolver = Mockito.mock(ScopeResolver.class); final OnapPdpEngine engine = new OnapPdpEngine(factory, resolver); assertNotNull(engine); final Request pepRequest = Mockito.mock(Request.class); final Response response = engine.decide(pepRequest); assertEquals(1, response.getResults().size()); }