def METHOD_NAME(self):
    self.create_credentials_provider()
    self.credentials_provider.accept_all = True
    self.credentials_provider.secure_messages()
    self.assertFalse(self.credentials_provider.accept_all)