brndwgn

Experience

11,510

0 Best Reply Awards

  • Member Since 3 Years Ago
  • 232 Lessons Completed
  • 4 Favorites

15th November, 2015

brndwgn left a reply on Testing ToString With Phpspec • 1 year ago

There's no need to cast to string - you can test the method directly:

$this->__toString()->shouldBe("Expected Output"):
Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.