[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/vendor/ocramius/proxy-manager/tests/ProxyManagerTest/Functional/ -> LazyLoadingGhostFunctionalTest.php (summary)

(no description)

File Size: 441 lines (16 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

LazyLoadingGhostFunctionalTest:: (20 methods):
  testMethodCalls()
  testMethodCallsAfterUnSerialization()
  testMethodCallsAfterCloning()
  testPropertyReadAccess()
  testPropertyWriteAccess()
  testPropertyExistence()
  testPropertyAbsence()
  testPropertyUnset()
  testCanWriteToArrayKeysInPublicProperty()
  testWillNotModifyRetrievedPublicProperties()
  testWillModifyByRefRetrievedPublicProperties()
  testKeepsInitializerWhenNotOverwitten()
  testKeepsInitializedPublicProperties()
  testPublicPropertyDefaultWillBePreserved()
  testProtectedPropertyDefaultWillBePreserved()
  testPrivatePropertyDefaultWillBePreserved()
  generateProxy()
  createInitializer()
  getProxyMethods()
  getPropertyAccessProxies()


Class: LazyLoadingGhostFunctionalTest  - X-Ref

Tests for {@see \ProxyManager\ProxyGenerator\LazyLoadingGhostGenerator} produced objects

testMethodCalls($className, $instance, $method, $params, $expectedValue)   X-Ref


testMethodCallsAfterUnSerialization($className, $instance, $method, $params, $expectedValue)   X-Ref


testMethodCallsAfterCloning($className, $instance, $method, $params, $expectedValue)   X-Ref


testPropertyReadAccess($instance, $proxy, $publicProperty, $propertyValue)   X-Ref


testPropertyWriteAccess($instance, $proxy, $publicProperty)   X-Ref


testPropertyExistence($instance, $proxy, $publicProperty)   X-Ref


testPropertyAbsence($instance, $proxy, $publicProperty)   X-Ref


testPropertyUnset($instance, $proxy, $publicProperty)   X-Ref


testCanWriteToArrayKeysInPublicProperty()   X-Ref
Verifies that accessing a public property containing an array behaves like in a normal context


testWillNotModifyRetrievedPublicProperties()   X-Ref
Verifies that public properties retrieved via `__get` don't get modified in the object itself


testWillModifyByRefRetrievedPublicProperties()   X-Ref
Verifies that public properties references retrieved via `__get` modify in the object state


testKeepsInitializerWhenNotOverwitten()   X-Ref
No description

testKeepsInitializedPublicProperties()   X-Ref
Verifies that public properties are not being initialized multiple times


testPublicPropertyDefaultWillBePreserved()   X-Ref
Verifies that properties' default values are preserved


testProtectedPropertyDefaultWillBePreserved()   X-Ref
Verifies that protected properties' default values are preserved


testPrivatePropertyDefaultWillBePreserved()   X-Ref
Verifies that private properties' default values are preserved


generateProxy($parentClassName)   X-Ref
Generates a proxy for the given class name, and retrieves its class name

param: string $parentClassName
return: string

createInitializer($className, $realInstance, Mock $initializerMatcher = null)   X-Ref

param: string $className
param: object $realInstance
param: Mock   $initializerMatcher
return: \Closure

getProxyMethods()   X-Ref
Generates a list of object | invoked method | parameters | expected result

return: array

getPropertyAccessProxies()   X-Ref
Generates proxies and instances with a public property to feed to the property accessor methods

return: array



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1