Customized jUnit ExpectedException example