Can you get tested for STDs without permission?

You should be advised when being tested for STDs. Your permission should be sought.