JobVertexBackPressureHandler extends AbstractJobVertexRequestHandler { @Override public String[] getPaths() { return new String[]{JOB_VERTEX_BACKPRESSURE_REST_PATH}; } JobVertexBackPressureHandler(
			ExecutionGraphCache executionGraphHolder,
			Executor executor,
			BackPressureStatsTracker backPressureStatsTracker,
			int refreshInterval); @Override String[] getPaths(); @Override CompletableFuture<String> handleRequest(
			AccessExecutionJobVertex accessJobVertex,
			Map<String, String> params);  }
@Test public void testGetPaths() { JobVertexBackPressureHandler handler = new JobVertexBackPressureHandler(mock(ExecutionGraphCache.class), Executors.directExecutor(), mock(BackPressureStatsTracker.class), 0); String[] paths = handler.getPaths(); Assert.assertEquals(1, paths.length); Assert.assertEquals("/jobs/:jobid/vertices/:vertexid/backpressure", paths[0]); }