=== Message Move assertions into separate method or use assertThrows or try-catch instead.