Nmap\Tests\NmapTest::testExecutableNotExecutable PHP Метод

testExecutableNotExecutable() публичный Метод

    public function testExecutableNotExecutable()
    {
        $executor = $this->getMock('Nmap\\Util\\ProcessExecutor');
        $executor->expects($this->once())->method('execute')->will($this->returnValue(1));
        new Nmap($executor);
    }