void () { Module module = projectRule.getModule(); FindModel findModel = new FindModel(); findModel.setModuleName(module.getName()); findModel.setProjectScope(false); UsageTarget target = new FindInProjectUtil.StringUsageTarget(projectRule.getProject(), findModel); UsageViewManagerImpl manager = (UsageViewManagerImpl)UsageViewManager.getInstance(projectRule.getProject()); SearchScope scope = manager.getMaxSearchScopeToWarnOfFallingOutOf(new UsageTarget[]{target}).get(); assertThat(module.getModuleContentScope()).isEqualTo(scope); }