CIPHPUnitTestCase::verifyInvokedMultipleTimes PHP Method

verifyInvokedMultipleTimes() public method

$loader->expects($this->exactly(2)) ->method('view') ->withConsecutive( ['shop_confirm', $this->anything(), TRUE], ['shop_tmpl_checkout', $this->anything()] ); will be $this->verifyInvokedMultipleTimes( $loader, 'view', 2, [ ['shop_confirm', $this->anything(), TRUE], ['shop_tmpl_checkout', $this->anything()] ] );
public verifyInvokedMultipleTimes ( object $mock, string $method, integer $times, array $params = null )
$mock object PHPUnit mock object
$method string
$times integer
$params array arguments
    public function verifyInvokedMultipleTimes($mock, $method, $times, $params = null)
    {
        $this->double->verifyInvokedMultipleTimes($mock, $method, $times, $params);
    }