GistRequest mockedGistRequest = mock(GistRequest.class);
when(mockedGistRequest.get(gistId)).thenReturn(json);
GistConnector connector = new GistConnector(new JsonToGistResultConverter(), mockedGistRequest);
GistResultRetriever retriever = new GistResultRetriever(connector);
GistChunk chunk = new GistChunk(options);
String output = new GistTag(new SimpleIndentator(4), retriever).parse(chunk);
assertPygmentsRan(output);