tests/Http/Headers/AcceptHeaderTest.php
/**
     * Test invalid parameters.
     *
     * @return void
     */
Test invalid parameters.
@return void
Test invalid parameters . @return void
public function testInvalidParameters2(): void
    {
        $this->expectException(InvalidArgumentException::class);
        new AcceptMediaType(0, 'foo', 'bar', null, 1.001);
    }
public function testInvalidParameters2 ( ) : void { $ this -> expectException ( InvalidArgumentException :: class ) ; new AcceptMediaType ( 0 , 'foo' , 'bar' , null , 1.001 ) ; }
Test invalid parameters.
Test invalid parameters .