There are a few true discipline tests that doctors use, but I agree that this does not sound legitimate. The only discipline tests I know of are being sober for a number of months before being eligible for a liver transplant, and (more relevant here)  adhering to a diet before a bariatric surgeon agrees to operate. Never with regards to birth control though. If my patient doesn't think she can reliably take the pill daily (usually they tell me-it's not something I need to guess) then I will offer them the depo shot, an IUD, or the Nexplanon implant. I wouldn't just tell them to get lost. That's absurd.