title: How do I pass the HttpServletRequest object to the test case?
body: <p>Now I am writing the test case of my class. I want to pass the HttpServletRequest object parameter to my test case method to check whether the method is working or not. So any one give me the suggestion to that.</p>
  <pre><code>public void testCheckBatchExecutionSchedule() throws Exception
      {
          assertTrue(&quot;Batch is Completed :&quot;, returnPointsRatingDisputeFrom.checkBatchExecutionSchedule(request));
      }
  </code></pre>