def METHOD_NAME(self, client):
    poller = client.begin_analyze_document_from_url("prebuilt-read", self.formula_url_jpg, features=[AnalysisFeature.FORMULAS])
    result = poller.result()
    assert len(result.pages) > 0
    assert len(result.pages[0].formulas) == 2
    assert result.pages[0].formulas[0].kind == "inline"
    assert result.pages[0].formulas[0].value
    assert result.pages[0].formulas[0].polygon
    assert result.pages[0].formulas[0].span
    assert result.pages[0].formulas[0].confidence is not None
    assert result.pages[0].formulas[1].kind == "display"
    assert result.pages[0].formulas[1].value
    assert result.pages[0].formulas[1].polygon
    assert result.pages[0].formulas[1].span
    assert result.pages[0].formulas[1].confidence is not None