[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

AccessInterceptorValueHolderFunctionalTest:: (14 methods):
  testMethodCalls()
  testMethodCallsWithSuffixListener()
  testMethodCallsAfterUnSerialization()
  testMethodCallsAfterCloning()
  testPropertyReadAccess()
  testPropertyWriteAccess()
  testPropertyExistence()
  testPropertyUnset()
  testCanWriteToArrayKeysInPublicProperty()
  testWillNotModifyRetrievedPublicProperties()
  testWillModifyByRefRetrievedPublicProperties()
  generateProxy()
  getProxyMethods()
  getPropertyAccessProxies()


Class: AccessInterceptorValueHolderFunctionalTest  - X-Ref

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

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


testMethodCallsWithSuffixListener($className, $instance, $method, $params, $expectedValue)   X-Ref
No description

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

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


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 state


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


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

param: string $parentClassName
return: string

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