public class TestNullInvoker extends TestCase
{
public void testReturnValues()
{
final Tester tester = ( Tester )ProxyUtils.createNullObject( new CglibProxyFactory(), new Class[] { Tester.class } );
assertEquals( 0, tester.intMethod() );
assertEquals( 0L, tester.longMethod() );
assertEquals( ( short )0, tester.shortMethod() );
assertEquals( ( byte )0, tester.byteMethod() );
assertEquals( ( char )0, tester.charMethod() );