for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the MilioooMessageBundle package.
*
* (c) Michiel boeckaert <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Miliooo\MessagingBundle\Tests\Entity;
/**
* Test file for Miliooo\MessagingBundle\Entity\ThreadMeta.
* Since this class is needed and used in doctrine mappings we need to test
* that this class exists and extends the right class.
* @author Michiel Boeckaert <[email protected]>
class ThreadMetaTest extends \PHPUnit_Framework_TestCase
{
public function testInstanceOfModel()
$messageMeta = $this->getMockForAbstractClass('Miliooo\MessagingBundle\Entity\ThreadMeta');
$this->assertInstanceOf('Miliooo\Messaging\Model\ThreadMeta', $messageMeta);
}