@Test
public void testFailNoHeader(){

	Exchange exchange = new DefaultExchange(context);
	exchange.setProperty(ExchangeConstantKeys.E3_REQUEST_PARAMETERS.toString(), new HashMap<String, Object>());
	
	Api api = new Api();
	api.setId("1234");
	// no parameter should fail
	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());
}