@Test
public void testExecute_noTargets() throws Exception {

    final File testOutDir = new File(testOutBaseDir, "testExecute_noTargets");
    FileUtils.deleteDirectory(testOutDir);
    final File projectRoot = new File(testOutDir, "content-package");
    FileUtils.copyDirectory(new File(srcDir, "content-package"), projectRoot);
    WebsterMojo mojo = newMojo();
    mojo.websterArchiveRoot = new File(projectRoot, "src/main/resources");
    mojo.execute();
    Optional<MockMojoLog.MockMojoLogEntry> logEntry = logFor(mojo).last();
    assertTrue("log is not empty", logEntry.isPresent());
    assertTrue("log starts with 'No websterTargets",
            logEntry.get().message.startsWith("No websterTargets"));
}