testAdapterType);
}
try {
Constructor<UnitDbAdapter> c = type.getConstructor(DbAdapter.class);
UnitDbAdapter unitAdapter = c.newInstance(adapter);
injector.injectMembers(unitAdapter);
return unitAdapter;
}
catch (Exception e) {
throw new ConfigurationException("Error instantiating " + testAdapterType, e);