PHP Class lithium\tests\cases\core\ObjectTest

Inheritance: extends lithium\test\Unit
Afficher le fichier Open project: unionofrad/lithium

Méthodes publiques

Méthode Description
testFilteringWithProtectedAccess ( ) Verifies workaround for accessing protected properties in filtered methods.
testInstanceFalse ( )
testInstanceWithClassesKey ( )
testInstanceWithNamespacedClass ( )
testInstanceWithObject ( )
testMethodFiltering ( )
testMethodInvocationWithParameters ( ) Tests that the correct parameters are always passed in Object::invokeMethod(), regardless of the number.
testMultipleMethodFiltering ( ) Attaches a single filter to multiple methods.
testObjectConfiguration ( ) Test configuration handling
testParents ( )
testResetClass ( )
testResetMethodFilter ( )
testResetMultipleFilters ( )
testRespondsTo ( )
testRespondsToProtectedMethod ( )
testStateBasedInstantiation ( ) Tests that an object can be instantiated using the magic __set_state() method.

Method Details

testFilteringWithProtectedAccess() public méthode

Verifies workaround for accessing protected properties in filtered methods.

testInstanceFalse() public méthode

public testInstanceFalse ( )

testInstanceWithClassesKey() public méthode

testInstanceWithNamespacedClass() public méthode

testInstanceWithObject() public méthode

testMethodFiltering() public méthode

public testMethodFiltering ( )

testMethodInvocationWithParameters() public méthode

Tests that the correct parameters are always passed in Object::invokeMethod(), regardless of the number.

testMultipleMethodFiltering() public méthode

Attaches a single filter to multiple methods.

testObjectConfiguration() public méthode

Test configuration handling

testParents() public méthode

public testParents ( )

testResetClass() public méthode

public testResetClass ( )

testResetMethodFilter() public méthode

testResetMultipleFilters() public méthode

testRespondsTo() public méthode

public testRespondsTo ( )

testRespondsToProtectedMethod() public méthode

testStateBasedInstantiation() public méthode

Tests that an object can be instantiated using the magic __set_state() method.