Ouzo\Tests\Mock\Mock::anyArgList PHP Метод

anyArgList() публичный статический Метод

public static anyArgList ( )
    public static function anyArgList()
    {
        return new AnyArgumentList();
    }

Usage Example

 protected function setUp()
 {
     parent::setUp();
     $this->pdoMock = Mock::mock();
     $this->dbMock = Mock::mock();
     Mock::when($this->pdoMock)->query(Mock::anyArgList())->thenReturn(false);
     Mock::when($this->dbMock)->errorInfo()->thenReturn(array(1, 3, 'Preparation error'));
 }
All Usage Examples Of Ouzo\Tests\Mock\Mock::anyArgList