@Test
public void testFailNotAllowed(){

	Exchange exchange = new DefaultExchange(context);
	Api api = new Api();
	api.setId("123");
	// This one should be denied because the MockData is rigged to return null
	exchange.getIn().setHeader(AuthHttpHeaders.Authorization.toString(), "Basic "+new String(Base64.encodeBase64("win:blarg".getBytes())));
	HttpBasicExecutor executor = new HttpBasicExecutor(new MockAuthDataAccess(null, null, null));
	
	AuthReport authReport = executor.checkAllowed(exchange, api);
	
	assertNull("This authentication should have failed", authReport.getAuthIdentity());
}