async def METHOD_NAME(self, ctx):
    detector = QueuedDetector(ctx, 1, [])
    expect(detector).not_to_be_null()
    data = await detector.detect()
    expect(data).to_be_empty()
    expect(ctx.request.detection_error).to_be_true()
    expect(detector.queue).to_be_null()