Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

phpunit exception message contains string

if(count($errors) > 0) throw new Exception(trim(implode(" ", $errors)), 101);
Source by localcoder.org #
 
PREVIOUS NEXT
Tagged: #phpunit #exception #message #string
ADD COMMENT
Topic
Name
9+7 =