@Override
    public String getResponse(String query) {
      return currentResponses.poll();
    }
Constructor.

@param adminPassword the KDC administrator's password (optional)
@param userPassword  the user's password (optional)
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KDCKerberosOperationHandler.java