From http://stackoverflow.com/questions/1052282/how-to-set-an-expected-exception-using-scala-and-junit-4