}
@Test
public void remove_missing_header() throws Exception
{
LicenseRemoveMojo mojo = new LicenseRemoveMojo()
{
{
super.includes = new String[] {"**/Java*.java"};
super.basedir = new File("target/documents1");
super.header = "target/documents1/header.txt";
super.excludes = new String[] {"*.svn-base", "*header.txt"};
super.properties = new HashMap<String, String>()
{
{
put("year", "2008");
put("email", "mathieu.carbou@gmail.com");
}
};
super.mapping = new HashMap<String, String>()
{
{
put("toto", "xml");
}
};
}
};
mojo.execute();
}