def METHOD_NAME(self):
    # In our test data, all AMPs without a BNF code are also unavailable
    # and invalid, so we need to include those objects here.
    self.assertSearchResults(
        {
            "q": "phoenix",
            "obj_types": ["amp"],
            "include": ["unavailable", "invalid", "no_bnf_code"],
        },
        {AMP: [17747811000001100]},
    )
    self.assertSearchResults(
        {
            "q": "phoenix",
            "obj_types": ["amp"],
            "include": ["unavailable", "invalid"],
        },
        {},
    )