public void testThrowOnReferralWithJndi() throws Exception
{
LdapContext ctx = getWiredContextThrowOnRefferal( getLdapServer() );
// delete success
ctx.destroySubcontext( "ou=computers,uid=akarasulu,ou=users,ou=system" );
try
{
ctx.lookup( "ou=computers,uid=akarasulu,ou=users,ou=system" );
fail( "Should never get here." );