Change MockResource to accept all method types