@Test
public void testCheckBinIncludesNotSpecified() throws Exception {

    BuildPropertiesImpl buildProperties = createBuildProperties("no.bin.includes", "bin.includes is not specified");
    try {
        subject.checkBinIncludesExist(createMockProject(), buildProperties, true);
        fail();
    } catch (MojoExecutionException e) {
        assertStringContains("bin.includes value(s) must be specified", e.getMessage());
    }
}