checks the interceptor returns the right method