@Test
public void should_not_save_any_measure_if_files_can_not_be_found() {

  FileSystem mockfileSystem = mock(FileSystem.class);
  when(mockfileSystem.predicates()).thenReturn(fileSystem.predicates());
  when(mockfileSystem.inputFile(any(FilePredicate.class))).thenReturn(null);
  sensor = new CoberturaSensor(settings, mockfileSystem);
  SensorContext context = mock(SensorContext.class);
  sensor.execute(context);
  Mockito.verify(context, Mockito.never()).newCoverage();
}