@Test
public void shouldMergeNestedInnerClasses() throws URISyntaxException {

  SensorContextTester context = SensorContextTester.create(new File(""));
  parser.collect(context, getDir("nestedInnerClasses"));
  assertThat(context.measure(":org.sonar.plugins.surefire.NestedInnerTest", CoreMetrics.TESTS).value()).isEqualTo(3);
}