@Test public void testCheckBinIncludesDontExist() throws Exception { BuildPropertiesImpl buildProperties = createBuildProperties("bin.includes", "foo2.txt, bar2*,**/*.me"); try { subject.checkBinIncludesExist(createMockProject(), buildProperties, true); fail(); } catch (MojoExecutionException e) { assertStringContains("bin.includes value(s) [foo2.txt, bar2*] do not match any files.", e.getMessage()); } }
public void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict, String... ignoredIncludes) throws MojoExecutionException { checkIncludesExist("bin.includes", buildProperties.getBinIncludes(), project, strict, ignoredIncludes); }
IncludeValidationHelper { public void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict, String... ignoredIncludes) throws MojoExecutionException { checkIncludesExist("bin.includes", buildProperties.getBinIncludes(), project, strict, ignoredIncludes); } }
IncludeValidationHelper { public void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict, String... ignoredIncludes) throws MojoExecutionException { checkIncludesExist("bin.includes", buildProperties.getBinIncludes(), project, strict, ignoredIncludes); } IncludeValidationHelper();  IncludeValidationHelper(Logger log); }
IncludeValidationHelper { public void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict, String... ignoredIncludes) throws MojoExecutionException { checkIncludesExist("bin.includes", buildProperties.getBinIncludes(), project, strict, ignoredIncludes); } IncludeValidationHelper();  IncludeValidationHelper(Logger log); void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict,
            String... ignoredIncludes); void checkSourceIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict); }
IncludeValidationHelper { public void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict, String... ignoredIncludes) throws MojoExecutionException { checkIncludesExist("bin.includes", buildProperties.getBinIncludes(), project, strict, ignoredIncludes); } IncludeValidationHelper();  IncludeValidationHelper(Logger log); void checkBinIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict,
            String... ignoredIncludes); void checkSourceIncludesExist(MavenProject project, BuildProperties buildProperties, boolean strict);  }