Example of writing unit tests in Scala for Java code.