Supported Versions: PHP 4 >= 4.2.0, PHP 5, PHP 7, PHP 8
Fill an array with values
array_fill(int $start_indexint $countmixed $value): array
        return array_map(

            [
$this'prepareRule'],

            
$rule,

            
array_fill((int) array_key_first($rule), count($rule), $attribute)

        );

    }
        $builder->shouldReceive('take')->andReturnSelf();

        
$builder->shouldReceive('get')->andReturn(

            
collect(array_fill(03'data'))

        );



        
$this->assertDatabaseHas($this->table$this->data);