title: How to test void method in JUnit
body: <p>How to test void method using JUnit.</p>
  
  <pre><code>void add(int a, int b) {
   int c= a + b;
  }
  </code></pre>
  
  <p>How to test above method by using Junit in Java.</p>