def METHOD_NAME(self, mock_db):
    db_query_value = (
        "SELECT geneId FROM GeneList WHERE " "SpeciesId = %s AND geneSymbol = %s"
    )
    conn = mock.MagicMock()
    mock_db.return_value.__enter__.return_value = conn
    with conn.cursor() as cursor:
        cursor.fetchone.return_value = (
            ("517d729f-aa13-4413" "-a885-40a3f7ff768a"),
        )
        results = get_gene_id(
            species_id="c9c0f59e-1259-4cba-91e6-831ef1a99c83", gene_name="INSR"
        )
        cursor.execute.assert_called_once_with(
            db_query_value, ("c9c0f59e-1259-4cba-91e6-831ef1a99c83", "INSR")
        )
        self.assertEqual(results, "517d729f-aa13-4413-a885-40a3f7ff768a")