ac = new PathSharingContext("file:"+config.getAbsolutePath());
} catch (BeansException be){
be.printStackTrace(System.err);
} finally {
assertNotNull("profile not buildable",ac);
ac.validate();
assertEquals("did not get the expected one error",1,ac.getAllErrors().size());
ac.destroy();
}
}
}