@Test
public void testNoCoordinator() throws Exception {

	JobVertexCheckpointsHandler handler = new JobVertexCheckpointsHandler(
			mock(ExecutionGraphHolder.class));
	ExecutionGraph graph = mock(ExecutionGraph.class);
	ExecutionJobVertex vertex = mock(ExecutionJobVertex.class);
	when(vertex.getGraph()).thenReturn(graph);
	String response = handler.handleRequest(vertex, Collections.<String, String>emptyMap());
	// Expecting empty response
	assertEquals("{}", response);
}