Supporting mocks in CDI interceptors.