== Exceptions This rule ignores one-line test methods, since it is obvious in such methods where the exception is expected to be thrown.