コード例 #1
0
ファイル: InputTest.php プロジェクト: yamildiego/JY
 public function testSetFetInteractive()
 {
     $input = new ArrayInput(array());
     $this->assertTrue($input->isInteractive(), '->isInteractive() returns whether the input should be interactive or not');
     $input->setInteractive(false);
     $this->assertFalse($input->isInteractive(), '->setInteractive() changes the interactive flag');
 }