}
@Test
public void testAddATypeHandler() throws Exception {
setupFactoryBean();
factoryBean.setTypeHandlers(new TypeHandler[] { new DummyTypeHandler() });
TypeHandlerRegistry typeHandlerRegistry = factoryBean.getObject().getConfiguration().getTypeHandlerRegistry();
assertTrue(typeHandlerRegistry.hasTypeHandler(BigInteger.class));
}