def METHOD_NAME(self):
    """Test prefixes can be resolved properly."""
    for expected, query in [
        ("ncbitaxon", "ncbitaxon"),
        ("ncbitaxon", "NCBITaxon"),
        ("ncbitaxon", "taxonomy"),
        ("scomp", "SCOMP"),
        ("sfam", "SFAM"),
        ("eccode", "ec-code"),
        ("eccode", "EC_CODE"),
        ("chembl.compound", "chembl.compound"),
        ("chembl.compound", "chemblcompound"),
        ("chembl", "chembl"),
    ]:
        with self.subTest(query=query):
            self.assertEqual(expected, bioregistry.normalize_prefix(query))