@@ -0,0 +1,1579 @@
+package org.anarres.gradle.plugin.sablecc;%0A%0Aimport java.util.Collections;%0Aimport org.anarres.gradle.plugin.velocity.VelocityTask;%0Aimport org.gradle.api.Project;%0Aimport org.gradle.api.Task;%0Aimport org.gradle.api.internal.AbstractTask;%0Aimport org.gradle.testfixtures.ProjectBuilder;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport static org.junit.Assert.*;%0A%0A/**%0A *%0A * @author shevek%0A */%0Apublic class SableCCPluginApplyTest %7B%0A%0A    Project project;%0A%0A    @Before%0A    public void setUp() %7B%0A        project = ProjectBuilder.builder().build();%0A    %7D%0A%0A    @Test%0A    public void testApply() %7B%0A        project.apply(Collections.singletonMap(%22plugin%22, %22java%22));%0A        project.apply(Collections.singletonMap(%22plugin%22, %22org.anarres.sablecc%22));%0A        assertTrue(%22Project is missing plugin%22, project.getPlugins().hasPlugin(PureJavaSableCCPlugin.class));%0A        %7B%0A            Task task = project.getTasks().findByName(%22sableccGrammar%22);%0A            assertNotNull(%22Project is missing sableccGrammar task%22, task);%0A            assertTrue(%22SableCC grammar task is the wrong type%22, task instanceof VelocityTask);%0A            assertTrue(%22SableCC grammar task should be enabled%22, ((AbstractTask) task).isEnabled());%0A        %7D%0A        %7B%0A            Task task = project.getTasks().findByName(%22sableccParser%22);%0A            assertNotNull(%22Project is missing sableccParser task%22, task);%0A            assertTrue(%22SableCC parser task is the wrong type%22, task instanceof SableCC);%0A            assertTrue(%22SableCC parser task should be enabled%22, ((AbstractTask) task).isEnabled());%0A        %7D%0A    %7D%0A%7D%0A

Add an apply test.