def METHOD_NAME(self) -> None:
    """
    Setup monkey-patched graph client.
    """
    self.patcher = patch(
        "datahub.ingestion.graph.client.DataHubGraph", autospec=True
    )
    self.addCleanup(self.patcher.stop)
    self.mock_graph = self.patcher.start()
    # Make server stateful ingestion capable
    self.mock_graph.get_config.return_value = {"statefulIngestionCapable": True}
    # Bind mock_graph's emit_mcp to testcase's monkey_patch_emit_mcp so that we can emulate emits.
    self.mock_graph.emit_mcp = types.MethodType(
        self.monkey_patch_emit_mcp, self.mock_graph
    )
    # Bind mock_graph's get_latest_timeseries_value to monkey_patch_get_latest_timeseries_value
    self.mock_graph.get_latest_timeseries_value = types.MethodType(
        self.monkey_patch_get_latest_timeseries_value, self.mock_graph
    )
    # Tracking for emitted mcps.
    self.mcps_emitted: Dict[str, MetadataChangeProposalWrapper] = {}