InspectionProfileEntry () { TrivialIfInspection inspection = new TrivialIfInspection(); String testName = getTestName(false); if (testName.endsWith("IgnoreChain")) { inspection.ignoreChainedIf = true; } if (testName.endsWith("IgnoreAssert")) { inspection.ignoreAssertStatements = true; } return inspection; }