title: Using GMock to verify a Destructor Call
body: <p>Using GMock, how can I verify that a class's destructor is called? Is there a way, other than to <a href="http://code.google.com/p/googlemock/source/browse/trunk/test/gmock-more-actions_test.cc?r=327#530">wrap it in another class</a>?</p>
  
  <p>The obvious method, <code>EXPECT_CALL(object, ~classtype())</code> yields a compiler error (gmock cannot produce a mock method called <code>gmock_~classtype</code>).</p>