@Test
public void addsDependencyOnInputFiles() {
final TaskInternal task = context.mock(TaskInternal.class);
final ProjectInternal project = context.mock(ProjectInternal.class);
final TaskInputs taskInputs = context.mock(TaskInputs.class);
final FileCollection inputFiles = context.mock(FileCollection.class);
context.checking(new Expectations() {{
one(delegate).createTask(project, map());
will(returnValue(task));