tests/Http/Headers/MediaTypeTest.php
/**
     * Test compare media types
     *
     * @return void
     */
Test compare media types
@return void
Test compare media types @return void
public function testCompareMediaTypesWithoutParameters(): void
    {
        $type1 = new MediaType('text', 'html');
        $type2 = new MediaType('Text', 'HTML');
        self::assertTrue($type1->equalsTo($type2));
    }
public function testCompareMediaTypesWithoutParameters ( ) : void { $ type1 = new MediaType ( 'text' , 'html' ) ; $ type2 = new MediaType ( 'Text' , 'HTML' ) ; self :: assertTrue ( $ type1 -> equalsTo ( $ type2 ) ) ; }
Test compare media types
 @return void
Test compare media types @return void