async def METHOD_NAME(uploader: Uploader, server, interceptor: RequestInterceptor):
    getter = await uploader.upload(bytearray([0, 1, 2, 3, 4, 5, 6, 7]))
    intercept = interceptor.setError("/readfile")
    intercept.addResponse(StreamResponse(headers={}))
    with pytest.raises(LogicError) as e:
        await getter.setup()
    assert e.value.message() == "Content size must be provided if the webserver doesn't provide it"