Go to the source code of this file.
Variables | |
| $failures = array() | |
| $assert | |
| $class = new ReflectionClass(\dbx\dbxKi\dbxKiCmsService::class) | |
| $service = $class->newInstanceWithoutConstructor() | |
| $validate = $class->getMethod('assert_no_fake_inline_hero') | |
| $fakeHero | |
| $rejected = false | |
| try | |
| $realHero | |
| $validHeroAccepted = true | |
| $cardWithBadge | |
| $cardAccepted = true | |
| $workflow = $class->getMethod('page_workflows') | |
| $workflowText = json_encode($workflow->invoke($service), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) | |
| $contract = $class->getMethod('content_contract') | |
| $contractText = json_encode($contract->invoke($service), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) | |
| if ( $failures !==array()) | |
| $assert |
Definition at line 7 of file dbxKiCmsHeroContract_test.php.
| $cardAccepted = true |
Definition at line 46 of file dbxKiCmsHeroContract_test.php.
| $cardWithBadge |
Definition at line 44 of file dbxKiCmsHeroContract_test.php.
| $class = new ReflectionClass(\dbx\dbxKi\dbxKiCmsService::class) |
Definition at line 13 of file dbxKiCmsHeroContract_test.php.
| $contract = $class->getMethod('content_contract') |
Definition at line 57 of file dbxKiCmsHeroContract_test.php.
| $contractText = json_encode($contract->invoke($service), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) |
Definition at line 59 of file dbxKiCmsHeroContract_test.php.
| $failures = array() |
Definition at line 6 of file dbxKiCmsHeroContract_test.php.
| $fakeHero |
Definition at line 18 of file dbxKiCmsHeroContract_test.php.
| $realHero |
Definition at line 34 of file dbxKiCmsHeroContract_test.php.
| $rejected = false |
Definition at line 22 of file dbxKiCmsHeroContract_test.php.
| $service = $class->newInstanceWithoutConstructor() |
Definition at line 14 of file dbxKiCmsHeroContract_test.php.
| $validate = $class->getMethod('assert_no_fake_inline_hero') |
Definition at line 15 of file dbxKiCmsHeroContract_test.php.
| $validHeroAccepted = true |
Definition at line 36 of file dbxKiCmsHeroContract_test.php.
| $workflow = $class->getMethod('page_workflows') |
Definition at line 54 of file dbxKiCmsHeroContract_test.php.
Referenced by dbx\dbxWorkflow\dbxWorkflow\run().
| $workflowText = json_encode($workflow->invoke($service), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES) |
Definition at line 56 of file dbxKiCmsHeroContract_test.php.
| if($failures !==array()) | ( | $failures ! = = array() | ) |
Definition at line 67 of file dbxKiCmsHeroContract_test.php.
| try |
Definition at line 23 of file dbxKiCmsHeroContract_test.php.