def METHOD_NAME(
    self, graph_ref: MagicMock, mcpw: MetadataChangeProposalWrapper
) -> None:
    """
    Mockey patched implementation of DatahubGraph.emit_mcp that caches the mcp locally in memory.
    """
    self.assertIsNotNone(graph_ref)
    if mcpw.aspectName != "status":
        self.assertEqual(mcpw.entityType, "dataJob")
        self.assertEqual(mcpw.aspectName, "datahubIngestionCheckpoint")
    # Cache the mcpw against the entityUrn
    assert mcpw.entityUrn is not None
    self.mcps_emitted[mcpw.entityUrn] = mcpw