// Setting the wrong key in the request parameters
Map<String, Object> parameters = new HashMap<String, Object>();
parameters.put(appKeyName.toUpperCase(), "asdf");
exchange.setProperty(ExchangeConstantKeys.E3_REQUEST_PARAMETERS.toString(), parameters);
AppKeyExecutor executor = new AppKeyExecutor(appKeyName, appHeaderName, new MockAuthDataAccess("asdf", null, null));
AuthReport authReport = executor.checkAllowed(exchange, api);
assertNull("This authentication should have failed", authReport.getAuthIdentity());
}