title: Easymock expect exception?
body: <p>I have below DAO method.</p>
  
  <pre><code>public String getMsg(String name){
  
   //get data from database 
    if db returned value is null then throw exception.
  
   if(returnValue == null){
      throw new CustomException("No results");
   }
  
   return returnValue;
  }
  </code></pre>
  
  <p>I need to write a test expected exception scenario as below. How can I write?</p>