@Test
 public void testCanGenerateReportWithLoadError() {
   JacocoReportChangesMojo mojo =
       new JacocoReportChangesMojo() {
         public java.util.List<String> loadIncludes() throws MojoExecutionException {
           throw new MojoExecutionException("Test");
         };
       };
   mojo.setSkipGenerationWhenNoChangesFound(true);
   assertFalse(mojo.canGenerateReport(true));
 }
 @Test
 public void testCanGenerateReportTrueWithNoChangesAndSkip() {
   final List<String> changedFiles = Collections.emptyList();
   JacocoReportChangesMojo mojo =
       new JacocoReportChangesMojo() {
         public java.util.List<String> loadIncludes() throws MojoExecutionException {
           return changedFiles;
         };
       };
   mojo.setSkipGenerationWhenNoChangesFound(true);
   assertFalse(mojo.canGenerateReport(true));
 }
 @Test
 public void testCanGenerateReportWithChangesAndSkip() {
   final List<String> changedFiles = Arrays.asList("a", "b", "c");
   JacocoReportChangesMojo mojo =
       new JacocoReportChangesMojo() {
         public java.util.List<String> loadIncludes() throws MojoExecutionException {
           return changedFiles;
         };
       };
   mojo.setSkipGenerationWhenNoChangesFound(true);
   assertTrue(mojo.canGenerateReport(true));
 }