Get 20% off all career paths from fullstack to AI
AI, Data Science & Cloud Certificates from Google, IBM & Meta
Overview
Google, IBM & Meta Certificates – 40% Off
One plan covers every Professional Certificate on Coursera.
Unlock All Certificates
Discover Hammock, a new open source mocking library for Hacklang, in this 26-minute conference talk from PHP UK 2020. Learn how Hammock provides disposable interfaces for mocking and spying on public, protected, private, and static methods, as well as global functions, without altering their behavior. Explore the library's use of `fb_intercept` for mocking and unmocking, and its ability to mock individual objects without affecting other instances of the same class. Gain insights into how Hammock can enhance your code testing capabilities and improve your development workflow.
Syllabus
Testing Hack with Hammock - Riya Dashoriya - PHP UK 2020
Taught by
PHP UK Conference