def METHOD_NAME():
    """Test the CREEDS chemical processor."""
    processor = process_from_file(DRUG_TEST_PATH, "chemical")
    assert 1 == len(processor.records)
    record = processor.records[0]
    assert record["cell_type"] == "bone"
    assert record["geo_id"] == "GSE1559"
    assert record["down_genes"][0][0] == "KRAS"
    assert record["up_genes"][0][0] == "SHC3"
    up_genes, down_genes = _get_regulations(record)
    assert 1 == len(up_genes), up_genes
    assert 1 == len(down_genes)
    assert 2 == len(processor.statements), LOGGED_MISSING_PART
    assert all(isinstance(stmt, RegulateAmount) for stmt in processor.statements)
    statement = processor.statements[0]
    assert statement.subj.name == "mitomycin C"
    assert statement.subj.db_refs["DRUGBANK"] == "DB00305"
    assert statement.subj.db_refs["PUBCHEM"] == "5746"
    assert (
        statement.subj.db_refs["SMILES"]
        == "[H][C@]12CN3C4=C([C@@H](COC(N)=O)[C@@]3(OC)[C@@]1([H])N2)C(=O)C(N)=C(C)C4=O"
    )
    assert statement.obj.name == "SHC3"
    assert statement.obj.db_refs["HGNC"] == "18181"
    assert isinstance(statement, IncreaseAmount)
    assert 1 == len(statement.evidence)
    evidence = statement.evidence[0]
    assert evidence.pmid is None
    assert evidence.annotations == {
        "cell_type": "bone",
        "geo": "GSE1559",
    }
    assert isinstance(evidence.context, BioContext)
    assert evidence.context.species.db_refs["TAXONOMY"] == "9606"
    statement = processor.statements[1]
    assert statement.subj.name == "mitomycin C"
    assert statement.subj.db_refs["DRUGBANK"] == "DB00305"
    assert statement.subj.db_refs["PUBCHEM"] == "5746"
    assert (
        statement.subj.db_refs["SMILES"]
        == "[H][C@]12CN3C4=C([C@@H](COC(N)=O)[C@@]3(OC)[C@@]1([H])N2)C(=O)C(N)=C(C)C4=O"
    )
    assert statement.obj.name == "KRAS"
    assert statement.obj.db_refs["HGNC"] == "6407"
    assert isinstance(statement, DecreaseAmount)