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\Application;
use DmTest\ServiceManager\ServiceLocatorDummy;
class ApplicationTest extends \PHPUnit_Framework_TestCase
{
/** @var Application */
private $sut;
public function setUp()
$this->sut = new Application();
}
/**
* @covers DmCommon\Factory\Log\Application
*/
public function testCreateService()
$serviceLocator = new ServiceLocatorDummy($this);
$result = $this->sut->createService($serviceLocator);
$this->assertInstanceOf('Zend\Log\Logger', $result);