@Test(expected = QueryStoreException.class)
public void testResolveLoaderException() throws Exception {

    doThrow(new IOException()).when(analyticsLoader).getAction(any(ActionRequest.class));
    queryExecutor.resolve(new NonCacheableActionRequest());
}