-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
When the tested class has parameters in the constructor which are named like properties of the PHPUnit TestCase class, these would be overwritten after using quickmock
To Reproduce
Steps to reproduce the behavior:
- Create a class with a contructor parameter called
data - Create a test for this class
- Use quickmock
- See error
Expected behavior
Maybe detection if TestCase already reservers a name and rename the generated property
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working