@Test
public void testConventionAwareness() {
ConventionTask task = (ConventionTask) getTask();
assertThat(task.getConventionMapping(), instanceOf(ConventionAwareHelper.class));
ConventionAwareHelper conventionMapping = (ConventionAwareHelper) task.getConventionMapping();
assertThat(conventionMapping.getConvention(), sameInstance(getProject().getConvention()));
}