DumpTest.php 321 B

1234567891011121314151617
  1. <?php
  2. namespace League\CLImate\Tests;
  3. require_once 'VarDumpMock.php';
  4. class DumpTest extends TestBase
  5. {
  6. /** @test */
  7. public function it_can_dump_a_variable()
  8. {
  9. $this->shouldWrite("\e[mDUMPED: This thing\e[0m");
  10. $this->shouldHavePersisted();
  11. $this->cli->dump('This thing');
  12. }
  13. }