    @Test(expected = WebApplicationException.class)
    public void postIndexKeyNonIndexableGraph() {

        final KeyIndexResource resource = mockNonKeyIndexableGraph();
        resource.postIndexKey(graphName, Tokens.VERTEX, "key");
    }