NPE from WebTester if testingEngineKey not valid
Brought to you by:
henryju
If WebTester has been configured with a specific testingEngineKey, but there is no TestingEngine registered in TestingEngineRegistry for that key, then WebTester#initializeDialog will fail with a NPE when it gets a null back from getTestingEngineClass.
I've attached a very simple patch for TestingEngineRegistry that checks that there is a testing engine class for the requested key, and throws an exception if not. This is easier to diagnose than a NPE.
Ticket moved from /p/jwebunit/bugs/133/