Maybe you were looking for...

How can I tell if two Minecraft entities are in the same body of water?

How can I test for two entities, both of which are in the same body of water? The only way I can think of doing it is having several /testforblock commands, t