Ejemplo n.º 1
0
 public function testConsoleStringDump()
 {
     $this->assertInternalType('string', Debugger::consoleStringDump());
     $this->assertInternalType('string', Debugger::consoleStringDump('some string'));
     $this->assertInternalType('string', Debugger::consoleStringDump(array('some', 1, 'key' => 'val')));
     $this->assertInternalType('string', Debugger::consoleStringDump(new \stdClass()));
     $this->assertInternalType('string', Debugger::consoleStringDump(true));
     $this->assertInternalType('string', Debugger::consoleStringDump('arg1', array('arg2'), new \stdClass()));
 }