DNA TESTING DOG POOP???

Stupid question.
How do they know the poop you give them if from your dog?
(Or even from A dog?:D)

I was thinking the same thing.
I can see a black market for dog poop coming.