示例#1
0
文件: StreamTest.php 项目: rusnak/Ext
 /**
  * @test
  */
 public function shutdownOnlyMode()
 {
     $this->_clientStream->shutdown(Ext_Io_Net_Stream::SHUTDOWN_WRITE);
     $this->assertEquals(array(Ext_Io_Net_Stream::SHUTDOWN_WRITE => true, Ext_Io_Net_Stream::SHUTDOWN_READ => false), $this->_clientStream->getShuttedDown());
 }