env.put( Context.INITIAL_CONTEXT_FACTORY, CoreContextFactory.class.getName() );
InitialContext initCtx = new InitialContext( env );
assertNotNull( initCtx );
DirContext ctx = ( DirContext ) initCtx.lookup( "" );
NoPermissionException notNull = null;
try
{
ctx.modifyAttributes( "", DirContext.ADD_ATTRIBUTE, null );
fail( "we should never get here" );