void () { myFixture.configureByFile('/' + getTestName(false) + ".java"); final List<IntentionAction> availableActions = getAvailableActions(); assertTrue("Intention to add @SneakyThrows was not presented", ContainerUtil.exists(availableActions, action -> action.getText().contains("@SneakyThrows"))); }