A megger tests with high-voltage DC.

If you tried measuring with AC you'd read the overall impedance, which includes the reactance formed by the capacitance in the cable.