Measuring capacitance of a dual cable with arduino

I already know how capacitor works

No, you don't, because you don't understand that a cable with two or more leads IS a capacitor.

What is so difficult to understand about connecting two leads of a two wire cable to a circuit?

Maybe this picture will help:

cap.png

cap.png