Nmap\Tests\NmapTest::testExecutableNotExecutable PHP Method

testExecutableNotExecutable() public method

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