void () { UnusedPropertyInspection inspection = new UnusedPropertyInspection(); inspection.fileNameMask = ".*Bundle\\.properties"; myFixture.enableInspections(inspection); myFixture.addClass("class C { String s = \"used.prop\"; }"); doTest(true); }