Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00%
0 / 1
0.00%
0 / 4
CRAP
0.00%
0 / 16
Test
0.00%
0 / 1
0.00%
0 / 4
20
0.00%
0 / 16
 setDispatcher($dispatcher)
0.00%
0 / 1
2
0.00%
0 / 3
 setBootstrap($bootstrap)
0.00%
0 / 1
2
0.00%
0 / 3
 __construct($name = NULL, array $data = array()
0.00%
0 / 1
2
0.00%
0 / 4
 getFeature()
0.00%
0 / 1
2
0.00%
0 / 6
<?php
namespace Codeception\TestCase;
class Test extends \Codeception\TestCase implements \PHPUnit_Framework_SelfDescribing
{
/**
* @var \Symfony\Component\EventDispatcher\EventDispatcher
*/
protected $dispatcher = null;
protected $bootstrap = null;
public function setDispatcher($dispatcher) {
$this->dispatcher = $dispatcher;
}
public function setBootstrap($bootstrap) {
$this->bootstrap = $bootstrap;
}
public function __construct($name = NULL, array $data = array(), $dataName = '') {
parent::__construct($name, $data, $dataName);
$this->scenario = new \Codeception\Scenario($this);
}
public function getFeature() {
$text = $this->getName();
$text = preg_replace('/([A-Z]+)([A-Z][a-z])/', '\\1 \\2', $text);
$text = preg_replace('/([a-z\d])([A-Z])/', '\\1 \\2', $text);
return strtolower($text);
}
}