entityPOJOClass.getImplementsDeclaration() );
PersistentClass base = new RootClass();
base.setClassName( "Base" );
PersistentClass sub = new SingleTableSubclass( base );
sub.setClassName( "Sub" );
assertEquals( null, c2j.getPOJOClass(base).getExtends() );
assertEquals( "Base", c2j.getPOJOClass(sub).getExtends() );
Map m = new HashMap();
MetaAttribute attribute = new MetaAttribute( "extends" );
attribute.addValue( "x" );
attribute.addValue( "y" );
m.put( attribute.getName(), attribute );
attribute = new MetaAttribute( "interface" );
attribute.addValue( "true" );
m.put( attribute.getName(), attribute );
sub.setMetaAttributes( m );
assertEquals( "Base,x,y", c2j.getPOJOClass(sub).getExtends() );
m = new HashMap();
attribute = new MetaAttribute( "implements" );
attribute.addValue( "intf" );