public class LicenseCheckMojoTest
{
@Test(expectedExceptions = MojoFailureException.class)
public void test_execution() throws Exception
{
LicenseCheckMojo mojo = new LicenseCheckMojo()
{
{
super.basedir = new File(".");
super.header = new File("src/etc/header.txt");
}
};
mojo.execute();
}