// Check automatic mapping without field
builder.addMapping(TypeHandler1.class);
Assert.assertEquals(TypeHandler1.class.getName(), builder.getHandler().getTypeName(th1));
// Check automatic mapping with field
builder.addMapping(TypeHandler2.class);
Assert.assertEquals("H2", builder.getHandler().getTypeName(th2));
Assert.assertEquals(TypeHandler2.class, builder.getHandler().newInstance("H2").getClass());
// Create instance of private class
Assert.assertEquals(TypeHandler3.class, builder.getHandler().newInstance(TypeHandler3.class.getName()).getClass());