X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fbehat%2Fmink%2Fsrc%2FException%2FElementTextException.php;fp=vendor%2Fbehat%2Fmink%2Fsrc%2FException%2FElementTextException.php;h=5efff0fc91c92aa74aff9774df3b52c04dfde81f;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/behat/mink/src/Exception/ElementTextException.php b/vendor/behat/mink/src/Exception/ElementTextException.php new file mode 100644 index 000000000..5efff0fc9 --- /dev/null +++ b/vendor/behat/mink/src/Exception/ElementTextException.php @@ -0,0 +1,24 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Behat\Mink\Exception; + +/** + * Exception thrown when an expectation on the text of an element fails. + * + * @author Konstantin Kudryashov + */ +class ElementTextException extends ElementHtmlException +{ + protected function getContext() + { + return $this->element->getText(); + } +}