#135 replace CommonAssertions.failWhenExpectingException by
ExpectedException.