public function testAnsiShorthandsChaining() { $a = new Ansi(new BufferWriter()); // @note: we are going a round trip (bell is tested twice) // to make sure the test before it is also working correctly $this->assertEquals($a->bell()->backspace()->cr()->lf()->tab()->bell()->get(), C0::BELL . C0::BS . C0::CR . C0::LF . C0::TAB . C0::BEL); }