eZ\Publish\Core\FieldType\Tests\CountryTest::provideInvalidInputForAcceptValue PHP Метод

provideInvalidInputForAcceptValue() публичный Метод

Returns an array of data provider sets with 2 arguments: 1. The invalid input to acceptValue(), 2. The expected exception type as a string. For example: return array( array( new \stdClass(), 'eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentException', ), array( array(), 'eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentException', ), ... );
public provideInvalidInputForAcceptValue ( ) : array
Результат array
    public function provideInvalidInputForAcceptValue()
    {
        return array(array('LegoLand', 'eZ\\Publish\\Core\\Base\\Exceptions\\InvalidArgumentException'), array(array('Norway', 'France', 'LegoLand'), 'eZ\\Publish\\Core\\FieldType\\Country\\Exception\\InvalidValue'), array(array('FR', 'BE', 'LE'), 'eZ\\Publish\\Core\\FieldType\\Country\\Exception\\InvalidValue'), array(array('FRE', 'BEL', 'LEG'), 'eZ\\Publish\\Core\\FieldType\\Country\\Exception\\InvalidValue'));
    }