title: Unit Test case for Api Controller
body: <p>How to write Junit test case for this controller?</p>
  
  <pre><code>@PostMapping(path = "/appformsubmission")
      public AppFormChannelResponseObject saveAppForm(
              @RequestBody AppFormChannelRequestObject&lt;AppFormDetails&gt; requestObject) throws JsonProcessingException {
  
          logger.info("MwController -saveAppForm ");
          if (logger.isDebugEnabled()) {
              logger.debug("Entering MwController() method");
              logger.debug("requestObject : {}", Utility.toJsonString(requestObject));
          }
          return appFormService.submitApplicationForm(requestObject);
      }
  </code></pre>
  
  <p>It would be great if I get a sample test case as I am new to Junit. Thanks in advance.</p>