ExampleUnitTest
- Type
- Class
- Namespace
- myprojecttests
- Inherits
- myprojecttests\ExampleUnitTest »
craft\test\TestCase »
Codeception\Test\Unit
View source (opens new window)
# Protected Properties
Property | Description |
---|---|
tester | UnitTester |
# tester
- Type
- UnitTester
- Default value
null
View source (opens new window)
# Public Methods
Method | Description |
---|---|
_fixtures() | |
assertObjectIsInstanceOfClassCallback() | Returns a callable that checks whether the passed in object is an instance of the $class param |
testCraftEdition() |
# testCraftEdition()
View source (opens new window)
# Protected Methods
Method | Description |
---|---|
getInaccessibleProperty() | Gets an inaccessible object property. |
invokeMethod() | Invokes an inaccessible method on an object |
invokeStaticMethod() | Invokes an inaccessible static method on a class |
setInaccessibleProperty() | Sets an inaccessible object property to a designated value. |