for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DmCommonTest\Factory\Log;
use DmCommon\Factory\Log\Exception;
use DmTest\ServiceManager\ServiceLocatorDummy;
class ExceptionTest extends \PHPUnit_Framework_TestCase
{
/** @var Exception */
private $sut;
public function setUp()
$this->sut = new Exception();
}
/**
* @covers DmCommon\Factory\Log\Exception
*/
public function testCreateService()
$serviceLocator = new ServiceLocatorDummy($this);
$result = $this->sut->createService($serviceLocator);
$this->assertInstanceOf('Zend\Log\Logger', $result);