public void testGenerateComponent()
throws Exception
{
Integer testInt = new Integer( 7 );
ComponentProxyGenerator proxyGen = new ComponentProxyGenerator();
final Component component =
proxyGen.getProxy( "java.lang.Comparable", testInt );
assertTrue( component != null );
assertTrue( component instanceof Comparable );
Comparable comp = (Comparable)component;
assertEquals( 0, comp.compareTo( testInt ) );