def METHOD_NAME(self):
    """
    Tests that the --auth option registers a checker.
    """
    options = Options()
    options.parseOptions(["--auth", "memory:admin:admin:bob:password"])
    self.assertEqual(len(options["credCheckers"]), 1)
    checker = options["credCheckers"][0]
    interfaces = checker.credentialInterfaces
    registered_checkers = options.service.smtpPortal.checkers
    for iface in interfaces:
        self.assertEqual(checker, registered_checkers[iface])