def METHOD_NAME(handler, client, request):
    output = get_log_output(request, 'gcp://')
    with output:
        assert 1
    handler().transport.flush.assert_called_once()
    handler().transport.worker.stop.assert_called_once()
    output = get_log_output(request, 'gcp://apples')
    assert output.get_log_group() == 'custodian-apples-xyz'