Guest User

Untitled

a guest
Apr 26th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. $validator->expects($this->once())
  2. ->method('isValid')->id(1)
  3. ->with($this->equalTo('test1'))
  4. ->will($this->returnValue(true));
  5.  
  6. $validator->expects($this->once())
  7. ->after(1)
  8. ->method('isValid')
  9. ->with($this->equalTo('test2'))
  10. ->will($this->returnValue(true));
  11.  
  12. ==
  13.  
  14. Failed asserting that two strings are equal.
  15. --- Expected
  16. +++ Actual
  17. @@ @@
  18. -test1
  19. +test2
  20.  
  21. /Users/brice/cvs/www/common/php/library/DoW/Form/Element.php:629
  22. /Users/brice/cvs/www/test/units/library/DoW/Form/ElementTest.php:479
Add Comment
Please, Sign In to add comment