protected void executeAndAwait(InterceptorExecutor<ByteBuf, ByteBuf, KeyEvaluationContext> executor)
throws InterruptedException {
final CountDownLatch completionLatch = new CountDownLatch(1);
executor.execute(Unpooled.buffer(), Unpooled.buffer(),
new KeyEvaluationContext(new MockChannelHandlerContext("mock").channel()))
.doOnCompleted(new Action0() {
@Override
public void call() {
completionLatch.countDown();
}