@@ -0,0 +1,1205 @@
+package org.simpleflatmapper.reflect.getter;%0A%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.simpleflatmapper.reflect.Getter;%0A%0Aimport java.lang.reflect.Type;%0Aimport java.sql.Timestamp;%0Aimport java.util.Date;%0A%0Aimport static org.junit.Assert.*;%0A%0Apublic class GetterFactoryRegistryTest %7B%0A    GetterFactoryRegistry%3CObject, Object%3E getterFactoryRegistry;%0A    GetterFactory%3CObject, Object%3E gf1;%0A%0A    @Before%0A    public void setUp() %7B%0A        getterFactoryRegistry = new GetterFactoryRegistry%3CObject, Object%3E();%0A%0A        gf1 = new GetterFactory%3CObject, Object%3E() %7B%0A            @Override%0A            public %3CP%3E Getter%3CObject, P%3E newGetter(Type target, Object key, Object... properties) %7B%0A                return null;%0A            %7D%0A        %7D;%0A%0A        getterFactoryRegistry.put(Timestamp.class, gf1);%0A    %7D%0A%0A    @Test%0A    public void testIndirectLookup() %7B%0A        assertSame(gf1, getterFactoryRegistry.findFactoryFor(Date.class));%0A    %7D%0A%0A    @Test%0A    public void testDirectLookup() %7B%0A        assertSame(gf1, getterFactoryRegistry.findFactoryFor(Timestamp.class));%0A    %7D%0A%0A    @Test%0A    public void testNoMatch() %7B%0A        assertNull(getterFactoryRegistry.findFactoryFor(java.sql.Date.class));%0A    %7D%0A%0A%7D

add test