They test the wires in a Ethernet cable, by first checking the individual cable treads for shorts or open circuit, and then for shorts between the cable pairs, and that they are connected correctly. There are also testers on the market, that check the capacity between the pairs in case they are mixed up somehow.