private void assertDescriptorCanBeLoaded(String descriptorPath) throws MalformedURLException
{
URL url = Thread.currentThread().getContextClassLoader().getResource(descriptorPath);
assertNotNull("The " + descriptorPath + " can not be found", url);
DocumentSource source = DocumentSource.create(url);
List<SkinConfigTask> tasks = SkinConfigParser.fetchTasks(source);
assertNotNull("There are no tasks", tasks);
assertEquals(8, tasks.size());
}