# Reference

- Creating Test Doubles

- Expectation Declarations

- Argument Validation

- Alternative shouldReceive Syntax

- Spies

- Creating Partial Mocks

- Mocking Protected Methods

- Mocking Public Properties

- Mocking Public Static Methods

- Preserving Pass-By-Reference Method Parameter Behaviour

- Mocking Demeter Chains And Fluent Interfaces

- Dealing with Final Classes/Methods

- PHP Magic Methods

- PHPUnit Integration