This interface defines virtual methods for each of the user-facing overload sets in GrafeasClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type GrafeasClient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eGrafeasConnection\u003c/code\u003e class, which provides an interface for interacting with the \u003ccode\u003eGrafeasClient\u003c/code\u003e and allows for the injection of custom behaviors during testing.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eGrafeasConnection\u003c/code\u003e is 2.37.0-rc, and the page includes links to documentation for multiple prior versions, ranging back to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGrafeasConnection\u003c/code\u003e class contains virtual methods that map to the user-facing overload sets within \u003ccode\u003eGrafeasClient\u003c/code\u003e, including functions like \u003ccode\u003eGetOccurrence\u003c/code\u003e, \u003ccode\u003eListOccurrences\u003c/code\u003e, \u003ccode\u003eCreateNote\u003c/code\u003e, and \u003ccode\u003eListNoteOccurrences\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMakeGrafeasConnection()\u003c/code\u003e function can be used to create a concrete instance of the \u003ccode\u003eGrafeasConnection\u003c/code\u003e, and \u003ccode\u003eMockGrafeasConnection\u003c/code\u003e is available for mocking purposes.\u003c/p\u003e\n"],["\u003cp\u003eEach function has a dedicated table displaying its parameters and return types, along with a brief description of what that parameter or return type is for.\u003c/p\u003e\n"]]],[],null,[]]