[java] How to write a Unit Test?