Codeception\Module\WPCLITest::it_should_call_the_executor_with_proper_parameters PHP Method

it_should_call_the_executor_with_proper_parameters() public method

    public function it_should_call_the_executor_with_proper_parameters()
    {
        $this->executor->exec(Argument::containingString('--path=' . $this->root->url() . '/wp'), Argument::any(), Argument::any())->shouldBeCalled();
        $this->executor->exec(Argument::containingString('core version'), Argument::any(), Argument::any())->shouldBeCalled();
        $sut = $this->make_instance();
        $sut->cli('core version');
    }