title: How to test POST method in Spring boot using Mockito and JUnit
body: <p>I am newbie to Unit testing using JUnit and Mockito in Spring boot framework.
  I want to test this method. How to test POST Request method:</p>
  
  <pre><code>// add Employee
  @RequestMapping(method = RequestMethod.POST)
  public void addEmployee(@RequestBody Employee employee){
      this.employeeService.addEmployee(employee);
  }
  </code></pre>
  
  <p>Thank you in advance</p>