title: First time writing junit: Need suggestions
body: <p>I wrote a small code to sort one of the fields called "Type", and now I have to write Junit test for it.I am totally new writing test,so I would like to know how many conditions do i consider for it or not.
  for example I wrote test code for: -</p>
  
  <ol>
  <li>testCompareBothNull,  </li>
  <li>testComparePojo1NullPoj02NotNull,</li>
  <li>testComparePojo1NotNullPoj02Null,</li>
  <li>testComparePojo1NotNullPoj02NotNull</li>
  </ol>
  
  <p>.</p>
  
  <p>so I would need your suggestions.I thank you in advance.</p>