@Override
  protected void setupOpenSuccess(KerberosOperationHandler handler) throws Exception {

    ADKerberosOperationHandler adHandler = (ADKerberosOperationHandler) handler;

    expect(adHandler.createInitialLdapContext(anyObject(Properties.class), isNull())).andReturn(ldapContext).anyTimes();
  }
Implementation to illustrate the use of operations on this class

@throws Throwable
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/ADKerberosOperationHandlerTest.java