def METHOD_NAME(case, desc, negotiated_protocol, result):
    with TlsServer(server_port, negotiated_protocol=negotiated_protocol):
        print('Starting {}: {}'.format(case, desc))
        dut1.write('conn {} {} {}'.format(ip, server_port, case))
        dut1.expect(re.compile(result), timeout=10)
        return case