Namespace Mockery\Generator\StringManipulation\Pass
CallTypeHintPass | |
ClassNamePass | |
ClassPass | |
InstanceMockPass | |
InterfacePass | |
MethodDefinitionPass | |
RemoveBuiltinMethodsThatAreFinalPass | The standard Mockery\Mock class includes some methods to ease mocking, such as __wakeup, however if the target has a final __wakeup method, it can't be mocked. This pass removes the builtin methods where they are final on the target |
RemoveUnserializeForInternalSerializableClassesPass | Internal classes can not be instantiated with the newInstanceWithoutArgs reflection method, so need the serialization hack. If the class also implements Serializable, we need to replace the standard unserialize method definition with a dummy |
Pass |