title: How to write a Unit Test?
body: <p>I have a Java class. How can I  <a href="http://en.wikipedia.org/wiki/Unit_testing" rel="noreferrer">unit test</a> it?</p>
  
  <hr>
  
  <p>In my case, I have class does a binary sum. It takes two <code>byte[]</code> arrays, sums them, and returns a new binary array.</p>