namespace Symfony\Component\Mime\Tests\HtmlToTextConverter;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Mime\HtmlToTextConverter\DefaultHtmlToTextConverter;
class DefaultHtmlToTextConverterTest extends TestCase
{ public function testConvert() { $converter =
new DefaultHtmlToTextConverter();
$this->
assertSame('HTML',
$converter->
convert('<head><meta charset="utf-8"></head><b>HTML</b><style>css</style>', 'UTF-8'
));
}}