output->shouldReceive("sameLine")->andReturn(true); $this->shouldWrite("\e[m\e[H\e[2J\e[0m"); $this->shouldHavePersisted(); $this->cli->clear(); } }