bind
Initialize a TestTty instance. Only a single TestTty instance can be bound at a time, and only when a Tty is not also bound. Subsequent calls will throw an exception until TestTty.close is called.
Throws
If an error occurred creating the PTY.
If another instance is already bound.