Functional\Tests\RetryTest::testThrowsExceptionIfRetryCountNotAtLeast1 PHP 메소드

testThrowsExceptionIfRetryCountNotAtLeast1() 공개 메소드

    public function testThrowsExceptionIfRetryCountNotAtLeast1()
    {
        $this->expectArgumentError('Functional\\retry() expects parameter 2 to be an integer greater than or equal to 1');
        retry([$this->retryer, 'retry'], 0);
    }