[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

(no description)

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

Defines 1 class

AccessInterceptorScopeLocalizerFunctionalTest:: (16 methods):
  setUpBeforeClass()
  testMethodCalls()
  testMethodCallsWithSuffixListener()
  testMethodCallsAfterUnSerialization()
  testMethodCallsAfterCloning()
  testPropertyReadAccess()
  testPropertyWriteAccess()
  testPropertyExistence()
  testPropertyUnset()
  testCanWriteToArrayKeysInPublicProperty()
  testWillNotModifyRetrievedPublicProperties()
  testWillModifyByRefRetrievedPublicProperties()
  generateProxy()
  getProxyMethods()
  getPropertyAccessProxies()
  assertProxySynchronized()


Class: AccessInterceptorScopeLocalizerFunctionalTest  - X-Ref

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

setUpBeforeClass()   X-Ref
{@inheritDoc}


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

assertProxySynchronized($instance, AccessInterceptorInterface $proxy)   X-Ref

param: object                     $instance
param: AccessInterceptorInterface $proxy



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