def METHOD_NAME(self):
    client = SearchIndexerClient("endpoint", CREDENTIAL)
    assert client._headers == {
        "api-key": "test_api_key",
        "Accept": "application/json;odata.metadata=minimal",
    }