Mark Aeron Montes
Results
1
issues of
Mark Aeron Montes
Is it possible to use the mocked json_decode for unit testing SomeClass::someMethod? Where in someMethod() contains json_decode? ### Summarized code snippet: **test Method:** PHPMockery::mock(__NAMESPACE__, "json_decode") ->andReturn("test"); $classMock = new SomeClass();...