public void testResolveObjectFromImport() throws Exception {
final ClassTypeResolver resolver = new ClassTypeResolver( new HashSet(), Thread.currentThread().getContextClassLoader() );
resolver.addImport( "org.drools.Cheese" );
resolver.addImport( "org.drools.FirstClass" );
resolver.addImport( "org.drools.FirstClass.AlternativeKey" );
resolver.addImport( "org.drools.SecondClass" );
resolver.addImport( "org.drools.SecondClass.AlternativeKey" );
assertEquals( String.class,
resolver.resolveType( "String" ) );
assertEquals( String.class,