for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright (c) 2017 Ryan Parman <http://ryanparman.com>.
* Copyright (c) 2017 Contributors.
*
* http://opensource.org/licenses/Apache2.0
*/
declare(strict_types=1);
namespace SimplePie\Test\Integration\Atom\Feed;
use SimplePie\Enum\Serialization;
use SimplePie\Test\Integration\AbstractTestCase;
use SimplePie\Type\Node;
use Skyzyx\UtilityPack\Types;
* @coversNothing
class TitleTest extends AbstractTestCase
{
public function testTitle(): void
$title = $this->feed->getTitle();
$this->assertEquals(Node::class, Types::getClassOrType($title));
$this->assertEquals('Release notes from signer', (string) $title);
$this->assertEquals('Release notes from signer', $title->getValue());
$this->assertEquals(Serialization::TEXT, $title->getSerialization());
}
public function testTitleAtom10(): void
$title = $this->feed->getTitle('atom10');