def METHOD_NAME(self):
    """Round-trip through app with complex command line."""
    cmdline = DialignCommandline(dialign_exe)
    cmdline.set_parameter("input", self.infile1)
    cmdline.set_parameter("-nt", True)
    cmdline.set_parameter("-thr", 4)
    cmdline.set_parameter("stars", 9)
    cmdline.set_parameter("-ow", True)
    cmdline.set_parameter("mask", True)
    cmdline.set_parameter("-cs", True)
    self.assertEqual(
        str(cmdline), dialign_exe + " -cs -mask -nt -ow -stars 9 -thr 4 Fasta/f002"
    )
    stdout, stderr = cmdline()
    self.assertEqual(stderr, "")
    self.assertTrue(os.path.exists(self.outfile1))
    self.assertTrue(stdout.startswith(" e_len = 633"))