title: How to write a test case for a method returning object
body: <p>I have a method for which the return type is object. How do I create a test case for this? How do I mention that the result should be an object?</p>
  
  <p>e.g.:</p>
  
  <pre><code>public Expression getFilter(String expo)
  {
      // do something
      return object;
  }
  </code></pre>