}
public void testFailInInstantiate() throws Throwable
{
ErrorDelegate delegate = new ErrorDelegate("test", ErrorDelegate.FAIL_IN_INSTANTIATE);
ErrorControllerContext context = new ErrorControllerContext(delegate);
assertInstall(context, ControllerState.NOT_INSTALLED);
assertChange(context, ControllerState.INSTANTIATED, ControllerState.ERROR);
assertUninstall(context);
}