tests/Http/Headers/MediaTypeTest.php
/**
     * Test full media type name combine.
     *
     * @return void
     */
Test full media type name combine.
@return void
Test full media type name combine . @return void
public function testGetMediaType(): void
    {
        $type = new MediaType('text', 'html', ['charset' => 'utf-8']);
        self::assertEquals('text/html', $type->getMediaType());
    }
public function testGetMediaType ( ) : void { $ type = new MediaType ( 'text' , 'html' , [ 'charset' => 'utf-8' ] ) ; self :: assertEquals ( 'text/html' , $ type -> getMediaType ( ) ) ; }
Test full media type name combine.
Test full media type name combine .