MockGeneratorService class for code generation of mock objects.
Located in /mock_objects.php (line 1248)
Builds initial reflection object.
Creates a list of mocked methods for error checking.
Creates code to abandon the expectation if not mocked.
Creates source code for chaining to an aggregated mock object.
Creates source code for chaining to the composited mock object.
The new mock class code as a string.
Creates code within a class to generate replaced methods. All methods call the invoke() handler with the method name and the arguments in an array.
Creates code within a class to generate a new methods. All methods call the invoke() handler on the internal mock with the method name and the arguments in an array.
The new mock class code as a string. The mock will be a subclass of the original mocked class.
The extension class code as a string. The class composites a mock object and chains mocked methods to it.
Clones a class' interface and creates a mock version that can have return values and expectations set.
Generates a version of a class with selected methods mocked only. Inherits the old class and chains the mock methods of an aggregated mock object.
Subclasses a class and overrides every method with a mock one that can have return values and expectations set. Chains to an aggregated SimpleMock.
Tests to see if a special PHP method is about to be stubbed by mistake.
Creates source code to override a list of methods with mock versions.
Documentation generated on Sun, 31 Oct 2010 16:31:48 -0500 by phpDocumentor 1.4.3