Interceptor next = EasyMock.createMock(Interceptor.class);
EasyMock.expect(next.invoke(EasyMock.eq(msg))).andReturn(msg);
EasyMock.replay(next);
EasyMock.replay(msg);
Interceptor interceptor = new NonBlockingInterceptor(scheduler, next);
interceptor.invoke(msg);
verify(context);
verify(next);
verify(msg);
}