specs/console/BinaryHelper.php
public function createBinary($name, $supported, $exists)
    {
        $binary = $this->prophet->prophesize('Peridot\WebDriverManager\Binary\BinaryInterface');
        $binary->isSupported()->willReturn($supported);
        $binary->getName()->willReturn($name);
        $binary->exists(Argument::any())->willReturn($exists);
        return $binary;
    }
public function createBinary($name, $supported, $exists)
    {
        $binary = $this->prophet->prophesize('Peridot\WebDriverManager\Binary\BinaryInterface');
        $binary->isSupported()->willReturn($supported);
        $binary->getName()->willReturn($name);
        $binary->exists(Argument::any())->willReturn($exists);
        return $binary;
    }
Create a binary mock.

@param $name
@param $supported
@param $exists