allowing(parent).get(ListenerManager.class);
will(returnValue(listenerManager));
allowing(gradle).getStartParameter();
will(returnValue(startParameter));
allowing(gradle).getScriptClassLoader();
will(returnValue(new MultiParentClassLoader()));
}});
}