* Check that when there are multiple instantiators for a given class, the
* most recently registered one has priority.
*/
public void testLastOverrides() {
ServerGwtBridge thisBridge = new ServerGwtBridge();
thisBridge.register(Object.class, new ClassInstantiatorBase() {
@SuppressWarnings("unchecked")
@Override
public <T> T create(Class<?> baseClass, Properties properties) {
return (T) tryCreate(BarImpl.class);
}