async def METHOD_NAME(self, client):
    with open(self.receipt_jpg, "rb") as fd:
        receipt = fd.read()
    async with client:
        poller = await client.begin_recognize_receipts(receipt, include_field_elements=True)
        result = await poller.result()
    assert len(result) == 1
    receipt = result[0]
    self.assertFormPagesHasValues(receipt.pages)
    for name, field in receipt.fields.items():
        if field.value_type not in ["list", "dictionary"] and name != "ReceiptType":  # receipt cases where value_data is None
            self.assertFieldElementsHasValues(field.value_data.field_elements, receipt.page_range.first_page_number)
    assert receipt.fields.get("MerchantAddress").value, '123 Main Street Redmond ==  WA 98052'
    assert receipt.fields.get("MerchantName").value ==  'Contoso'
    assert receipt.fields.get("MerchantPhoneNumber").value ==  '+19876543210'
    assert receipt.fields.get("Subtotal").value ==  11.7
    assert receipt.fields.get("Tax").value ==  1.17
    assert receipt.fields.get("Tip").value ==  1.63
    assert receipt.fields.get("Total").value ==  14.5
    assert receipt.fields.get("TransactionDate").value ==  date(year=2019, month=6, day=10)
    assert receipt.fields.get("TransactionTime").value ==  time(hour=13, minute=59, second=0)
    assert receipt.page_range.first_page_number ==  1
    assert receipt.page_range.last_page_number ==  1
    self.assertFormPagesHasValues(receipt.pages)
    receipt_type = receipt.fields.get("ReceiptType")
    assert receipt_type.confidence is not None
    assert receipt_type.value ==  'Itemized'