@Override
public DirectoryResource getTestResourceDirectory()
{
GradleModel model = getFaceted().getFacet(GradleFacet.class).getModel();
GradleSourceDirectory dir = GradleResourceUtil.findSourceSetNamed(model.getEffectiveSourceSets(), "test")
.getResourceDirectories().get(0);
return directoryResourceFromRelativePath(dir.getPath());
}