PHP unit testing: mock a dependency that doesn't exist yet