title: GMOCK Argument Verification
body: <p>I have a class, with member array of type int</p>
  
  <pre><code>// Class Defenition
  class Foo {
       int array[5];
       // ... Other Memebers
  }
  </code></pre>
  
  <p>Have another class with member function that has a parameter of type Foo*</p>
  
  <pre><code>class SerialTXInterface {
   public:
      virtual bool print_foo(Foo* strPtr) = 0;
      // ... Other Members
  };
  </code></pre>
  
  <p>Mock for the above method:</p>
  
  <pre><code>MOCK_METHOD1(print_str_s, bool(Array_s&lt;char&gt;* strPtr));
  </code></pre>
  
  <p>The SerialTX interface</p>
  
  <pre><code>SerialTXInterface* STX = &amp;SerialTXObject;
  </code></pre>
  
  <p>The Foo object</p>
  
  <pre><code>Foo FooObj;
  </code></pre>
  
  <p>The function call</p>
  
  <pre><code>STX.print_foo(&amp;FooOjb)
  </code></pre>
  
  <p>How can I verify that the Foo member array[5] == {1, 2, 3, 4, 5}</p>