2013-06-23 08:26:22 +08:00
|
|
|
<?php
|
|
|
|
// This class was automatically generated by build task
|
2013-11-15 00:11:51 +08:00
|
|
|
// You should not change it manually as it will be overwritten on next build
|
2013-06-23 08:26:22 +08:00
|
|
|
// @codingStandardsIgnoreFile
|
|
|
|
|
2013-11-15 00:11:51 +08:00
|
|
|
|
|
|
|
use \Codeception\Maybe;
|
2013-06-23 08:26:22 +08:00
|
|
|
use Codeception\Module\CodeHelper;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Inherited methods
|
2013-11-15 00:11:51 +08:00
|
|
|
* @method void execute($callable)
|
2013-06-23 08:26:22 +08:00
|
|
|
* @method void wantToTest($text)
|
|
|
|
* @method void wantTo($text)
|
|
|
|
* @method void expectTo($prediction)
|
|
|
|
* @method void expect($prediction)
|
|
|
|
* @method void amGoingTo($argumentation)
|
|
|
|
* @method void am($role)
|
2013-11-15 00:11:51 +08:00
|
|
|
* @method void lookForwardTo($achieveValue)
|
|
|
|
* @method void offsetGet($offset)
|
|
|
|
* @method void offsetSet($offset, $value)
|
|
|
|
* @method void offsetExists($offset)
|
|
|
|
* @method void offsetUnset($offset)
|
2013-06-23 08:26:22 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
class CodeGuy extends \Codeception\AbstractGuy
|
|
|
|
{
|
2013-12-02 19:25:21 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* This method is generated.
|
|
|
|
* Documentation taken from corresponding module.
|
|
|
|
* ----------------------------------------------
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* @see Codeception\Module::getName()
|
|
|
|
* @return \Codeception\Maybe
|
|
|
|
*/
|
|
|
|
public function getName() {
|
|
|
|
$this->scenario->addStep(new \Codeception\Step\Action('getName', func_get_args()));
|
|
|
|
if ($this->scenario->running()) {
|
|
|
|
$result = $this->scenario->runStep();
|
|
|
|
return new Maybe($result);
|
|
|
|
}
|
|
|
|
return new Maybe();
|
|
|
|
}
|
2013-06-23 08:26:22 +08:00
|
|
|
}
|
|
|
|
|