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); }