예제 #1
0
파일: CharTest.php 프로젝트: pnaq57/zf2demo
 public function testCanPromptCharWithoutIgnoreCase()
 {
     fwrite($this->adapter->stream, 'FOObar');
     $char = new Char();
     $char->setEcho(false);
     $char->setConsole($this->adapter);
     $char->setIgnoreCase(false);
     ob_start();
     $response = $char->show();
     ob_get_clean();
     $this->assertEquals('b', $response);
 }