for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Noiselabs ZfTestCase Behat Extension.
*
* (c) Vítor Brandão <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Noiselabs\Behat\ZfTestCaseExtensionTest\Context\Initializer;
use Noiselabs\Behat\ZfTestCaseExtension\Context\Initializer\ZfTestCaseAwareInitializer;
use Noiselabs\Behat\ZfTestCaseExtension\Context\ZfTestCaseContext;
use Noiselabs\Behat\ZfTestCaseExtension\TestCase\HttpControllerTestCase;
use PHPUnit\Framework\TestCase;
/**
* @group unit
class ZfTestCaseAwareInitializerTest extends TestCase
{
public function test_it_can_initialize_the_context()
$context = new ZfTestCaseContext();
$initializer = new ZfTestCaseAwareInitializer(new HttpControllerTestCase());
$initializer->initializeContext($context);
$this->addToAssertionCount(1);
}