assertThat(sensor.shouldExecuteOnProject(project)).isTrue();
when(profile.getActiveRulesByRepository("foo-resharper")).thenReturn(ImmutableList.<ActiveRule>of());
assertThat(sensor.shouldExecuteOnProject(project)).isFalse();
}
@Test
<BUG>public void analyze() throws Exception {

Settings settings = createSettings("MyLibrary", "CSharpPlayground.sln", "inspectcode.exe");</BUG>
RulesProfile profile = mock(RulesProfile.class);
DefaultFileSystem fileSystem = new DefaultFileSystem();

assertThat(sensor.shouldExecuteOnProject(project)).isTrue();
when(profile.getActiveRulesByRepository("foo-resharper")).thenReturn(ImmutableList.<ActiveRule>of());
assertThat(sensor.shouldExecuteOnProject(project)).isFalse();
}
@Test
public void analyze_report_path() throws Exception {
String languageKey = "foo";
String reportPathKey = "fooReport";
Settings settings = new Settings();
settings.setProperty(ReSharperPlugin.SOLUTION_FILE_PROPERTY_KEY, "CSharpPlayground.sln");
settings.setProperty(reportPathKey, "src/test/resources/SensorTest/report.xml");
RulesProfile profile = mock(RulesProfile.class);
DefaultFileSystem fileSystem = new DefaultFileSystem();
