public function testReadCharWithMaskInsensitiveCase()
    {
        fwrite($this->adapter->stream, 'bAr');

        $char = $this->adapter->readChar('ar');
        $this->assertEquals($char, 'r');
    }
예제 #2
0
 /**
  * @expectedException \Zend\Console\Exception\InvalidArgumentException
  * @expectedExceptionMessage Invalid height supplied.
  */
 public function testInvalidHeight()
 {
     $this->adapter->writeTextBlock('', 80, 0, 2, 2);
 }