CodeGuy.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. // This class was automatically generated by build task
  3. // You should not change it manually as it will be overwritten on next build
  4. // @codingStandardsIgnoreFile
  5. use \Codeception\Maybe;
  6. use Codeception\Module\CodeHelper;
  7. /**
  8. * Inherited methods
  9. * @method void execute($callable)
  10. * @method void wantToTest($text)
  11. * @method void wantTo($text)
  12. * @method void expectTo($prediction)
  13. * @method void expect($prediction)
  14. * @method void amGoingTo($argumentation)
  15. * @method void am($role)
  16. * @method void lookForwardTo($achieveValue)
  17. * @method void offsetGet($offset)
  18. * @method void offsetSet($offset, $value)
  19. * @method void offsetExists($offset)
  20. * @method void offsetUnset($offset)
  21. */
  22. class CodeGuy extends \Codeception\AbstractGuy
  23. {
  24. /**
  25. * This method is generated.
  26. * Documentation taken from corresponding module.
  27. * ----------------------------------------------
  28. *
  29. *
  30. * @see Codeception\Module::getName()
  31. * @return \Codeception\Maybe
  32. */
  33. public function getName() {
  34. $this->scenario->addStep(new \Codeception\Step\Action('getName', func_get_args()));
  35. if ($this->scenario->running()) {
  36. $result = $this->scenario->runStep();
  37. return new Maybe($result);
  38. }
  39. return new Maybe();
  40. }
  41. }