Mocking Dependencies in Unit Tests with Phake

Mocking Dependencies in Unit Tests with Phake

PHP UK Conference via YouTube Direct link

Intro

1 of 17

1 of 17

Intro

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Mocking Dependencies in Unit Tests with Phake

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Mike Lively
  3. 3 Example Class Under Test
  4. 4 Test Doubles
  5. 5 Example Test With Stubbing
  6. 6 Stub Behaviors
  7. 7 private Methods
  8. 8 Stubbing static Method Calls
  9. 9 final Methods
  10. 10 Stubbing final Method Calls
  11. 11 Magic Methods
  12. 12 Verifying Identical Invocations
  13. 13 Verifying No Interaction
  14. 14 PHPUnit Constraints
  15. 15 Wildcard Parameters
  16. 16 PHPUnit: Mocking
  17. 17 PHPUnit: Verifying Order

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.