title: Mocking an rvalue qualified method with gmock
body: <p>Is there a way I can mock an rvalue qualified method with gmock? Something like the following?</p>
  <pre><code>class Something {
  public:
    virtual void test() &amp;&amp;;
  };
  
  class MockSomething : public Something {
  public:
    MOCK_METHOD(void, test, (), (&amp;&amp;, override));
  };
  </code></pre>
  <p>Trying this seems to give me a bunch of weird compiler errors that complain about, what it looks like, are preprocessed tokens. I can also not figure out how to make the older numbered mocking macros (eg. <code>MOCK_METHOD1</code>, <code>MOCK_METHOD2</code>, etc) work...</p>
  <p>Thanks!</p>