public class TryWithIdenticalCatchesTest extends LightCodeInsightFixtureTestCase {
public void test() {
myFixture.enableInspections(TryWithIdenticalCatchesInspection.class);
myFixture.configureByFile("com/siyeh/igtest/errorhandling/try_identical_catches/TryIdenticalCatches.java");
myFixture.checkHighlighting(true, false, false);
<BUG>IntentionAction intention = myFixture.findSingleIntention("Collapse catch blocks into multi-catch");
</BUG>
assertNotNull(intention);
myFixture.launchAction(intention);
myFixture.checkResultByFile("com/siyeh/igtest/errorhandling/try_identical_catches/TryIdenticalCatches.after.java");

public class TryWithIdenticalCatchesTest extends LightCodeInsightFixtureTestCase {
public void test() {
myFixture.enableInspections(TryWithIdenticalCatchesInspection.class);
myFixture.configureByFile("com/siyeh/igtest/errorhandling/try_identical_catches/TryIdenticalCatches.java");
myFixture.checkHighlighting(true, false, false);
IntentionAction intention = myFixture.findSingleIntention("Collapse 'catch' blocks");
assertNotNull(intention);
myFixture.launchAction(intention);
myFixture.checkResultByFile("com/siyeh/igtest/errorhandling/try_identical_catches/TryIdenticalCatches.after.java");
