{
DN dn = new DN( "ou=system" );
DirectoryService ds = new MockDirectoryService();
DefaultCoreSession session = new DefaultCoreSession(
new LdapPrincipal( new DN(), AuthenticationLevel.STRONG ), ds );
LookupOperationContext opContext = new LookupOperationContext( session, dn );
Set<String> bypass = new HashSet<String>();
bypass.add( "0" );
bypass.add( "1" );
opContext.setByPassed( bypass );
InvocationStack.getInstance().push( opContext );
try
{
chain.lookup( opContext );