public void testGlobalPropertyObjectProviderFailure()
{
Location l = fabricateLocation(223);
MockControl sourceControl = newControl(IPropertySource.class);
IPropertySource source = (IPropertySource) sourceControl.getMock();
// Training
source.getPropertyValue("foo");
sourceControl.setThrowable(new ApplicationRuntimeException("failure"));
replayControls();
PropertyObjectProvider p = new PropertyObjectProvider();