├── .gitattributes ├── .github ├── ISSUE_TEMPLATE.md └── stale.yml ├── .gitignore ├── .php_cs.dist ├── .travis.yml ├── CONTRIBUTING.md ├── ChangeLog.md ├── LICENSE ├── README.md ├── composer.json ├── phpunit.xml ├── src ├── Builder │ ├── Identity.php │ ├── InvocationMocker.php │ ├── Match.php │ ├── MethodNameMatch.php │ ├── NamespaceMatch.php │ ├── ParametersMatch.php │ └── Stub.php ├── Exception │ ├── BadMethodCallException.php │ ├── Exception.php │ └── RuntimeException.php ├── ForwardCompatibility │ └── MockObject.php ├── Generator.php ├── Generator │ ├── deprecation.tpl.dist │ ├── mocked_class.tpl.dist │ ├── mocked_class_method.tpl.dist │ ├── mocked_clone.tpl.dist │ ├── mocked_method.tpl.dist │ ├── mocked_method_void.tpl.dist │ ├── mocked_static_method.tpl.dist │ ├── proxied_method.tpl.dist │ ├── proxied_method_void.tpl.dist │ ├── trait_class.tpl.dist │ ├── unmocked_clone.tpl.dist │ ├── wsdl_class.tpl.dist │ └── wsdl_method.tpl.dist ├── Invocation │ ├── Invocation.php │ ├── ObjectInvocation.php │ └── StaticInvocation.php ├── InvocationMocker.php ├── Invokable.php ├── Matcher.php ├── Matcher │ ├── AnyInvokedCount.php │ ├── AnyParameters.php │ ├── ConsecutiveParameters.php │ ├── DeferredError.php │ ├── Invocation.php │ ├── InvokedAtIndex.php │ ├── InvokedAtLeastCount.php │ ├── InvokedAtLeastOnce.php │ ├── InvokedAtMostCount.php │ ├── InvokedCount.php │ ├── InvokedRecorder.php │ ├── MethodName.php │ ├── Parameters.php │ └── StatelessInvocation.php ├── MockBuilder.php ├── MockObject.php ├── Stub.php ├── Stub │ ├── ConsecutiveCalls.php │ ├── Exception.php │ ├── MatcherCollection.php │ ├── ReturnArgument.php │ ├── ReturnCallback.php │ ├── ReturnReference.php │ ├── ReturnSelf.php │ ├── ReturnStub.php │ └── ReturnValueMap.php └── Verifiable.php └── tests ├── Builder └── InvocationMockerTest.php ├── Generator ├── 232.phpt ├── 3154_namespaced_constant_resolving.phpt ├── 397.phpt ├── abstract_class.phpt ├── class.phpt ├── class_call_parent_clone.phpt ├── class_call_parent_constructor.phpt ├── class_dont_call_parent_clone.phpt ├── class_dont_call_parent_constructor.phpt ├── class_implementing_interface_call_parent_constructor.phpt ├── class_implementing_interface_dont_call_parent_constructor.phpt ├── class_partial.phpt ├── class_with_deprecated_method.phpt ├── class_with_method_named_method.phpt ├── class_with_method_with_nullable_typehinted_variadic_arguments.phpt ├── class_with_method_with_typehinted_variadic_arguments.phpt ├── class_with_method_with_variadic_arguments.phpt ├── constant_as_parameter_default_value.phpt ├── interface.phpt ├── invocation_object_clone_object.phpt ├── namespaced_class.phpt ├── namespaced_class_call_parent_clone.phpt ├── namespaced_class_call_parent_constructor.phpt ├── namespaced_class_dont_call_parent_clone.phpt ├── namespaced_class_dont_call_parent_constructor.phpt ├── namespaced_class_implementing_interface_call_parent_constructor.phpt ├── namespaced_class_implementing_interface_dont_call_parent_constructor.phpt ├── namespaced_class_partial.phpt ├── namespaced_interface.phpt ├── nonexistent_class.phpt ├── nonexistent_class_with_namespace.phpt ├── nonexistent_class_with_namespace_starting_with_separator.phpt ├── nullable_types.phpt ├── proxy.phpt ├── return_type_declarations_closure.phpt ├── return_type_declarations_final.phpt ├── return_type_declarations_generator.phpt ├── return_type_declarations_nullable.phpt ├── return_type_declarations_object_method.phpt ├── return_type_declarations_parent.phpt ├── return_type_declarations_self.phpt ├── return_type_declarations_static_method.phpt ├── return_type_declarations_void.phpt ├── scalar_type_declarations.phpt ├── wsdl_class.phpt ├── wsdl_class_namespace.phpt └── wsdl_class_partial.phpt ├── GeneratorTest.php ├── Invocation ├── ObjectInvocationTest.php └── StaticInvocationTest.php ├── Matcher └── ConsecutiveParametersTest.php ├── MockBuilderTest.php ├── MockObjectTest.php ├── ProxyObjectTest.php ├── _fixture ├── AbstractMockTestClass.php ├── AbstractTrait.php ├── AnInterface.php ├── AnInterfaceWithReturnType.php ├── AnotherInterface.php ├── Bar.php ├── ClassThatImplementsSerializable.php ├── ClassWithAllPossibleReturnTypes.php ├── ClassWithSelfTypeHint.php ├── ClassWithStaticMethod.php ├── ExampleTrait.php ├── ExceptionWithThrowable.php ├── Foo.php ├── FunctionCallback.php ├── Go ogle-Sea.rch.wsdl ├── GoogleSearch.wsdl ├── InterfaceWithSemiReservedMethodName.php ├── InterfaceWithStaticMethod.php ├── MethodCallback.php ├── MethodCallbackByReference.php ├── MockTestInterface.php ├── Mockable.php ├── PartialMockTestClass.php ├── SingletonClass.php ├── SomeClass.php ├── StaticMockTestClass.php ├── StringableClass.php └── TraversableMockTestInterface.php └── bootstrap.php /.gitattributes: -------------------------------------------------------------------------------- 1 | *.php diff=php 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/.github/ISSUE_TEMPLATE.md -------------------------------------------------------------------------------- /.github/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/.github/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/.gitignore -------------------------------------------------------------------------------- /.php_cs.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/.php_cs.dist -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /ChangeLog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/ChangeLog.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/composer.json -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Builder/Identity.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/Identity.php -------------------------------------------------------------------------------- /src/Builder/InvocationMocker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/InvocationMocker.php -------------------------------------------------------------------------------- /src/Builder/Match.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/Match.php -------------------------------------------------------------------------------- /src/Builder/MethodNameMatch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/MethodNameMatch.php -------------------------------------------------------------------------------- /src/Builder/NamespaceMatch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/NamespaceMatch.php -------------------------------------------------------------------------------- /src/Builder/ParametersMatch.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/ParametersMatch.php -------------------------------------------------------------------------------- /src/Builder/Stub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Builder/Stub.php -------------------------------------------------------------------------------- /src/Exception/BadMethodCallException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Exception/BadMethodCallException.php -------------------------------------------------------------------------------- /src/Exception/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Exception/Exception.php -------------------------------------------------------------------------------- /src/Exception/RuntimeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Exception/RuntimeException.php -------------------------------------------------------------------------------- /src/ForwardCompatibility/MockObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/ForwardCompatibility/MockObject.php -------------------------------------------------------------------------------- /src/Generator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator.php -------------------------------------------------------------------------------- /src/Generator/deprecation.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/deprecation.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_class.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_class.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_class_method.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_class_method.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_clone.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_clone.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_method.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_method.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_method_void.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_method_void.tpl.dist -------------------------------------------------------------------------------- /src/Generator/mocked_static_method.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/mocked_static_method.tpl.dist -------------------------------------------------------------------------------- /src/Generator/proxied_method.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/proxied_method.tpl.dist -------------------------------------------------------------------------------- /src/Generator/proxied_method_void.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/proxied_method_void.tpl.dist -------------------------------------------------------------------------------- /src/Generator/trait_class.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/trait_class.tpl.dist -------------------------------------------------------------------------------- /src/Generator/unmocked_clone.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/unmocked_clone.tpl.dist -------------------------------------------------------------------------------- /src/Generator/wsdl_class.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/wsdl_class.tpl.dist -------------------------------------------------------------------------------- /src/Generator/wsdl_method.tpl.dist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Generator/wsdl_method.tpl.dist -------------------------------------------------------------------------------- /src/Invocation/Invocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Invocation/Invocation.php -------------------------------------------------------------------------------- /src/Invocation/ObjectInvocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Invocation/ObjectInvocation.php -------------------------------------------------------------------------------- /src/Invocation/StaticInvocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Invocation/StaticInvocation.php -------------------------------------------------------------------------------- /src/InvocationMocker.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/InvocationMocker.php -------------------------------------------------------------------------------- /src/Invokable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Invokable.php -------------------------------------------------------------------------------- /src/Matcher.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher.php -------------------------------------------------------------------------------- /src/Matcher/AnyInvokedCount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/AnyInvokedCount.php -------------------------------------------------------------------------------- /src/Matcher/AnyParameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/AnyParameters.php -------------------------------------------------------------------------------- /src/Matcher/ConsecutiveParameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/ConsecutiveParameters.php -------------------------------------------------------------------------------- /src/Matcher/DeferredError.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/DeferredError.php -------------------------------------------------------------------------------- /src/Matcher/Invocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/Invocation.php -------------------------------------------------------------------------------- /src/Matcher/InvokedAtIndex.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedAtIndex.php -------------------------------------------------------------------------------- /src/Matcher/InvokedAtLeastCount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedAtLeastCount.php -------------------------------------------------------------------------------- /src/Matcher/InvokedAtLeastOnce.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedAtLeastOnce.php -------------------------------------------------------------------------------- /src/Matcher/InvokedAtMostCount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedAtMostCount.php -------------------------------------------------------------------------------- /src/Matcher/InvokedCount.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedCount.php -------------------------------------------------------------------------------- /src/Matcher/InvokedRecorder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/InvokedRecorder.php -------------------------------------------------------------------------------- /src/Matcher/MethodName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/MethodName.php -------------------------------------------------------------------------------- /src/Matcher/Parameters.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/Parameters.php -------------------------------------------------------------------------------- /src/Matcher/StatelessInvocation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Matcher/StatelessInvocation.php -------------------------------------------------------------------------------- /src/MockBuilder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/MockBuilder.php -------------------------------------------------------------------------------- /src/MockObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/MockObject.php -------------------------------------------------------------------------------- /src/Stub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub.php -------------------------------------------------------------------------------- /src/Stub/ConsecutiveCalls.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ConsecutiveCalls.php -------------------------------------------------------------------------------- /src/Stub/Exception.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/Exception.php -------------------------------------------------------------------------------- /src/Stub/MatcherCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/MatcherCollection.php -------------------------------------------------------------------------------- /src/Stub/ReturnArgument.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnArgument.php -------------------------------------------------------------------------------- /src/Stub/ReturnCallback.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnCallback.php -------------------------------------------------------------------------------- /src/Stub/ReturnReference.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnReference.php -------------------------------------------------------------------------------- /src/Stub/ReturnSelf.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnSelf.php -------------------------------------------------------------------------------- /src/Stub/ReturnStub.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnStub.php -------------------------------------------------------------------------------- /src/Stub/ReturnValueMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Stub/ReturnValueMap.php -------------------------------------------------------------------------------- /src/Verifiable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/src/Verifiable.php -------------------------------------------------------------------------------- /tests/Builder/InvocationMockerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Builder/InvocationMockerTest.php -------------------------------------------------------------------------------- /tests/Generator/232.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/232.phpt -------------------------------------------------------------------------------- /tests/Generator/3154_namespaced_constant_resolving.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/3154_namespaced_constant_resolving.phpt -------------------------------------------------------------------------------- /tests/Generator/397.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/397.phpt -------------------------------------------------------------------------------- /tests/Generator/abstract_class.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/abstract_class.phpt -------------------------------------------------------------------------------- /tests/Generator/class.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class.phpt -------------------------------------------------------------------------------- /tests/Generator/class_call_parent_clone.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_call_parent_clone.phpt -------------------------------------------------------------------------------- /tests/Generator/class_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/class_dont_call_parent_clone.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_dont_call_parent_clone.phpt -------------------------------------------------------------------------------- /tests/Generator/class_dont_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_dont_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/class_implementing_interface_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_implementing_interface_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/class_implementing_interface_dont_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_implementing_interface_dont_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/class_partial.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_partial.phpt -------------------------------------------------------------------------------- /tests/Generator/class_with_deprecated_method.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_with_deprecated_method.phpt -------------------------------------------------------------------------------- /tests/Generator/class_with_method_named_method.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_with_method_named_method.phpt -------------------------------------------------------------------------------- /tests/Generator/class_with_method_with_nullable_typehinted_variadic_arguments.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_with_method_with_nullable_typehinted_variadic_arguments.phpt -------------------------------------------------------------------------------- /tests/Generator/class_with_method_with_typehinted_variadic_arguments.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_with_method_with_typehinted_variadic_arguments.phpt -------------------------------------------------------------------------------- /tests/Generator/class_with_method_with_variadic_arguments.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/class_with_method_with_variadic_arguments.phpt -------------------------------------------------------------------------------- /tests/Generator/constant_as_parameter_default_value.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/constant_as_parameter_default_value.phpt -------------------------------------------------------------------------------- /tests/Generator/interface.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/interface.phpt -------------------------------------------------------------------------------- /tests/Generator/invocation_object_clone_object.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/invocation_object_clone_object.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_call_parent_clone.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_call_parent_clone.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_dont_call_parent_clone.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_dont_call_parent_clone.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_dont_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_dont_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_implementing_interface_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_implementing_interface_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_implementing_interface_dont_call_parent_constructor.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_implementing_interface_dont_call_parent_constructor.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_class_partial.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_class_partial.phpt -------------------------------------------------------------------------------- /tests/Generator/namespaced_interface.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/namespaced_interface.phpt -------------------------------------------------------------------------------- /tests/Generator/nonexistent_class.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/nonexistent_class.phpt -------------------------------------------------------------------------------- /tests/Generator/nonexistent_class_with_namespace.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/nonexistent_class_with_namespace.phpt -------------------------------------------------------------------------------- /tests/Generator/nonexistent_class_with_namespace_starting_with_separator.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/nonexistent_class_with_namespace_starting_with_separator.phpt -------------------------------------------------------------------------------- /tests/Generator/nullable_types.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/nullable_types.phpt -------------------------------------------------------------------------------- /tests/Generator/proxy.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/proxy.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_closure.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_closure.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_final.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_final.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_generator.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_generator.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_nullable.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_nullable.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_object_method.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_object_method.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_parent.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_parent.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_self.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_self.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_static_method.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_static_method.phpt -------------------------------------------------------------------------------- /tests/Generator/return_type_declarations_void.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/return_type_declarations_void.phpt -------------------------------------------------------------------------------- /tests/Generator/scalar_type_declarations.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/scalar_type_declarations.phpt -------------------------------------------------------------------------------- /tests/Generator/wsdl_class.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/wsdl_class.phpt -------------------------------------------------------------------------------- /tests/Generator/wsdl_class_namespace.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/wsdl_class_namespace.phpt -------------------------------------------------------------------------------- /tests/Generator/wsdl_class_partial.phpt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Generator/wsdl_class_partial.phpt -------------------------------------------------------------------------------- /tests/GeneratorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/GeneratorTest.php -------------------------------------------------------------------------------- /tests/Invocation/ObjectInvocationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Invocation/ObjectInvocationTest.php -------------------------------------------------------------------------------- /tests/Invocation/StaticInvocationTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Invocation/StaticInvocationTest.php -------------------------------------------------------------------------------- /tests/Matcher/ConsecutiveParametersTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/Matcher/ConsecutiveParametersTest.php -------------------------------------------------------------------------------- /tests/MockBuilderTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/MockBuilderTest.php -------------------------------------------------------------------------------- /tests/MockObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/MockObjectTest.php -------------------------------------------------------------------------------- /tests/ProxyObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/ProxyObjectTest.php -------------------------------------------------------------------------------- /tests/_fixture/AbstractMockTestClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/AbstractMockTestClass.php -------------------------------------------------------------------------------- /tests/_fixture/AbstractTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/AbstractTrait.php -------------------------------------------------------------------------------- /tests/_fixture/AnInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/AnInterface.php -------------------------------------------------------------------------------- /tests/_fixture/AnInterfaceWithReturnType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/AnInterfaceWithReturnType.php -------------------------------------------------------------------------------- /tests/_fixture/AnotherInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/AnotherInterface.php -------------------------------------------------------------------------------- /tests/_fixture/Bar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/Bar.php -------------------------------------------------------------------------------- /tests/_fixture/ClassThatImplementsSerializable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ClassThatImplementsSerializable.php -------------------------------------------------------------------------------- /tests/_fixture/ClassWithAllPossibleReturnTypes.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ClassWithAllPossibleReturnTypes.php -------------------------------------------------------------------------------- /tests/_fixture/ClassWithSelfTypeHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ClassWithSelfTypeHint.php -------------------------------------------------------------------------------- /tests/_fixture/ClassWithStaticMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ClassWithStaticMethod.php -------------------------------------------------------------------------------- /tests/_fixture/ExampleTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ExampleTrait.php -------------------------------------------------------------------------------- /tests/_fixture/ExceptionWithThrowable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/ExceptionWithThrowable.php -------------------------------------------------------------------------------- /tests/_fixture/Foo.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/Foo.php -------------------------------------------------------------------------------- /tests/_fixture/FunctionCallback.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/FunctionCallback.php -------------------------------------------------------------------------------- /tests/_fixture/Go ogle-Sea.rch.wsdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/Go ogle-Sea.rch.wsdl -------------------------------------------------------------------------------- /tests/_fixture/GoogleSearch.wsdl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/GoogleSearch.wsdl -------------------------------------------------------------------------------- /tests/_fixture/InterfaceWithSemiReservedMethodName.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/InterfaceWithSemiReservedMethodName.php -------------------------------------------------------------------------------- /tests/_fixture/InterfaceWithStaticMethod.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/InterfaceWithStaticMethod.php -------------------------------------------------------------------------------- /tests/_fixture/MethodCallback.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/MethodCallback.php -------------------------------------------------------------------------------- /tests/_fixture/MethodCallbackByReference.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/MethodCallbackByReference.php -------------------------------------------------------------------------------- /tests/_fixture/MockTestInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/MockTestInterface.php -------------------------------------------------------------------------------- /tests/_fixture/Mockable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/Mockable.php -------------------------------------------------------------------------------- /tests/_fixture/PartialMockTestClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/PartialMockTestClass.php -------------------------------------------------------------------------------- /tests/_fixture/SingletonClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/SingletonClass.php -------------------------------------------------------------------------------- /tests/_fixture/SomeClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/SomeClass.php -------------------------------------------------------------------------------- /tests/_fixture/StaticMockTestClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/StaticMockTestClass.php -------------------------------------------------------------------------------- /tests/_fixture/StringableClass.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/StringableClass.php -------------------------------------------------------------------------------- /tests/_fixture/TraversableMockTestInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/_fixture/TraversableMockTestInterface.php -------------------------------------------------------------------------------- /tests/bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sebastianbergmann/phpunit-mock-objects/HEAD/tests/bootstrap.php --------------------------------------------------------------------------------