for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Lichtenwallner (https://lichtenwallner.at)
*
* @see https://github.com/jolicht/markdown-cms for the canonical source repository
* @license https://github.com/jolicht/markdown-cms/blob/master/LICENSE MIT
* @copyright Copyright (c) Johannes Lichtenwallner
*/
declare(strict_types = 1);
namespace JolichtTest\MarkdownCms;
use PHPUnit\Framework\TestCase;
use Jolicht\MarkdownCms\BlogEntry;
class BlogEntryTest extends TestCase
{
private $blogEntry;
protected function setUp()
$this->blogEntry = new BlogEntry('testId', 'testTitle');
}
public function testGetId()
$this->assertSame('testId', $this->blogEntry->getId());
public function testGetTitle()
$this->assertSame('testTitle', $this->blogEntry->getTitle());