Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * This file tests HtmlContent. */ namespace SendGrid\Tests\Unit; use PHPUnit\..
Decoded Output download
<?php
/**
* This file tests HtmlContent.
*/
namespace SendGrid\Tests\Unit;
use PHPUnit\Framework\TestCase;
use SendGrid\Mail\HtmlContent;
/**
* This file tests HtmlContent.
*
* @package SendGrid\Tests
*/
class HtmlContentTest extends TestCase
{
public function testConstructor()
{
$htmlContent = new HtmlContent('html_content');
$this->assertInstanceOf(HtmlContent::class, $htmlContent);
$this->assertSame('html_content', $htmlContent->getValue());
$this->assertSame('text/html', $htmlContent->getType());
}
}
?>
Did this file decode correctly?
Original Code
<?php
/**
* This file tests HtmlContent.
*/
namespace SendGrid\Tests\Unit;
use PHPUnit\Framework\TestCase;
use SendGrid\Mail\HtmlContent;
/**
* This file tests HtmlContent.
*
* @package SendGrid\Tests
*/
class HtmlContentTest extends TestCase
{
public function testConstructor()
{
$htmlContent = new HtmlContent('html_content');
$this->assertInstanceOf(HtmlContent::class, $htmlContent);
$this->assertSame('html_content', $htmlContent->getValue());
$this->assertSame('text/html', $htmlContent->getType());
}
}
Function Calls
None |
Stats
MD5 | 965bc977e4e88d0316870dabfe926f9b |
Eval Count | 0 |
Decode Time | 111 ms |