use junit at compile time - for ExpectedException.