public void factory_throws_exception()
{
BindingFactory factory = mockBindingFactory();
ComponentResources container = mockComponentResources();
ComponentResources component = mockComponentResources();
Location l = mockLocation();
Throwable t = new RuntimeException("Simulated failure.");
String defaultPrefix = "def";
String description = "descrip";
String expression = "full expression";