	@Test
	public void test() {

		final Model<Location> model = createModel();
		subject.scanModel(sensorContext, activeRule, model);

		// Check one issue on packageA
		Assert.assertEquals(3, sensorContext.allIssues().size());
		Map<String, Issue> issues = sensorContext.allIssues().stream().collect(
				Collectors.toMap(issue -> issue.primaryLocation().inputComponent().key(), Function.identity()));

		issues.containsKey(BaseRuleTest.PROJECT_KEY + ":packageA/package-info.java");
		issues.containsKey(BaseRuleTest.PROJECT_KEY + ":packageD/ClassB.java");
		issues.containsKey(BaseRuleTest.PROJECT_KEY + ":packageD/ClassC.java");
	}