In Wikipedia, the article on Cochran–Mantel–Haenszel statistics states that "The McNemar test can only handle pairs. The CMH test is a generalization of the McNemar test as their test statistics are identical when each stratum shows a pair."
Could someone please show when the two tests give the same results? i.e.: in what parameterization does the Cochran–Mantel–Haenszel test give the same results as The McNemar test?