0
0

FunctionalTester.php 811 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace frontend\tests;
  3. /**
  4. * Inherited Methods
  5. * @method void wantToTest($text)
  6. * @method void wantTo($text)
  7. * @method void execute($callable)
  8. * @method void expectTo($prediction)
  9. * @method void expect($prediction)
  10. * @method void amGoingTo($argumentation)
  11. * @method void am($role)
  12. * @method void lookForwardTo($achieveValue)
  13. * @method void comment($description)
  14. * @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
  15. *
  16. * @SuppressWarnings(PHPMD)
  17. */
  18. class FunctionalTester extends \Codeception\Actor
  19. {
  20. use _generated\FunctionalTesterActions;
  21. public function seeValidationError($message)
  22. {
  23. $this->see($message, '.help-block');
  24. }
  25. public function dontSeeValidationError($message)
  26. {
  27. $this->dontSee($message, '.help-block');
  28. }
  29. }