async def METHOD_NAME(self, *, event):
    event.ack = Mock(name="ack")
    block_executed = False
    async with event:
        block_executed = True
    assert block_executed
    event.ack.assert_called_once_with()