## Uses of Class
net.sourceforge.pmd.lang.java.rule.junit.AbstractJUnitRule

Packages that use AbstractJUnitRule
Package | Description
--- | ---
net.sourceforge.pmd.lang.java.rule.junit |
net.sourceforge.pmd.lang.java.rule.migrating |

### Uses of AbstractJUnitRule in net.sourceforge.pmd.lang.java.rule.junit

Subclasses of AbstractJUnitRule in net.sourceforge.pmd.lang.java.rule.junit
Modifier and Type | Class and Description
--- | ---
`class` | `JUnitAssertionsShouldIncludeMessageRule`
`class` | `JUnitTestsShouldIncludeAssertRule`
`class` | `TestClassWithoutTestCasesRule`

### Uses of AbstractJUnitRule in net.sourceforge.pmd.lang.java.rule.migrating

Subclasses of AbstractJUnitRule in net.sourceforge.pmd.lang.java.rule.migrating
Modifier and Type | Class and Description
--- | ---
`class` | `JUnitUseExpectedRule` This rule finds code like this: public void testFoo() { try { doSomething(); fail("should have thrown an exception"); } catch (Exception e) { } } In JUnit 4, use @Test(expected = Exception.class)