@Test public void testResolveNonExistentAction() throws Exception { try { queryExecutor.resolve(new RequestWithNoAction()); fail(); } catch (FoxtrotException e) { assertEquals(ErrorCode.UNRESOLVABLE_OPERATION, e.getCode()); } }
public <T extends ActionRequest> Action resolve(T request) { Action action; action = analyticsLoader.getAction(request); if(null == action) { throw FoxtrotExceptions.createUnresolvableActionException(request); } return action; }
QueryExecutor { public <T extends ActionRequest> Action resolve(T request) { Action action; action = analyticsLoader.getAction(request); if(null == action) { throw FoxtrotExceptions.createUnresolvableActionException(request); } return action; } }
QueryExecutor { public <T extends ActionRequest> Action resolve(T request) { Action action; action = analyticsLoader.getAction(request); if(null == action) { throw FoxtrotExceptions.createUnresolvableActionException(request); } return action; } @Inject  QueryExecutor(
            AnalyticsLoader analyticsLoader,
            ExecutorService executorService,
            List<ActionExecutionObserver> executionObservers); }
QueryExecutor { public <T extends ActionRequest> Action resolve(T request) { Action action; action = analyticsLoader.getAction(request); if(null == action) { throw FoxtrotExceptions.createUnresolvableActionException(request); } return action; } @Inject  QueryExecutor(
            AnalyticsLoader analyticsLoader,
            ExecutorService executorService,
            List<ActionExecutionObserver> executionObservers); ActionValidationResponse validate(T request); ActionResponse execute(T request); AsyncDataToken executeAsync(T request); Action resolve(T request); }
QueryExecutor { public <T extends ActionRequest> Action resolve(T request) { Action action; action = analyticsLoader.getAction(request); if(null == action) { throw FoxtrotExceptions.createUnresolvableActionException(request); } return action; } @Inject  QueryExecutor(
            AnalyticsLoader analyticsLoader,
            ExecutorService executorService,
            List<ActionExecutionObserver> executionObservers); ActionValidationResponse validate(T request); ActionResponse execute(T request); AsyncDataToken executeAsync(T request); Action resolve(T request);  }