public void visitMethod(@NotNull PsiMethod method) {
super.visitMethod(method);
if (!TestUtils.isJUnitTestMethod(method)) {
return;
}
<BUG>final ContainsAssertionVisitor visitor =
new ContainsAssertionVisitor();
method.accept(visitor);</BUG>
if (visitor.containsAssertion()) {
return;

public void visitMethod(@NotNull PsiMethod method) {
super.visitMethod(method);
if (!TestUtils.isJUnitTestMethod(method)) {
return;
