use of uk.gov.justice.services.core.interceptor.Target in project microservice_framework by CJSCommonPlatform.
the class LocalAccessControlInterceptorTest method setup.
@Before
public void setup() throws Exception {
final Deque<Interceptor> interceptors = new LinkedList<>();
interceptors.add(localAccessControlInterceptor);
final Target target = context -> context;
interceptorChain = new DefaultInterceptorChain(interceptors, target);
}
use of uk.gov.justice.services.core.interceptor.Target in project microservice_framework by CJSCommonPlatform.
the class LocalAuditInterceptorTest method setup.
@Before
public void setup() throws Exception {
final Deque<Interceptor> interceptors = new LinkedList<>();
interceptors.add(localAuditInterceptor);
final Target target = context -> context.copyWithOutput(outputEnvelope);
interceptorChain = new DefaultInterceptorChain(interceptors, target);
}
Aggregations