#311 用assertJ简化assert编写, 将fail改为failBecauseExceptionWasNotThrown(excepted exception class);