public function testIsClosed()
{
$stream = $this->getMock('Webmozart\\Console\\Api\\IO\\InputStream');
$this->input = new Input($stream);
$stream->expects($this->once())->method('isClosed')->willReturn('RESULT');
$this->assertSame('RESULT', $this->input->isClosed());
}