v1.0.0
English

CIUnitTestCase.php

system/Test/CIUnitTestCase.php
1 class 18 methods

class CIUnitTestCase

Framework test case for PHPUnit.
setUpBeforeClass () public
setUp () protected
tearDown () protected
callTraitMethods (string $stage) private
resetFactories () protected
resetServices (bool $initAutoloader = true) protected
mockCache () protected
mockEmail () protected
mockSession () protected
assertLogged (string $level, $expectedMessage = null) public
assertLogContains (string $level, string $logMessage, string $message = '') public
assertEventTriggered (string $eventName) public
assertHeaderEmitted (string $header, bool $ignoreCase = false) public
assertHeaderNotEmitted (string $header, bool $ignoreCase = false) public
assertCloseEnough (int $expected, $actual, string $message = '', int $tolerance = 1) public
assertCloseEnoughString ($expected, $actual, string $message = '', int $tolerance = 1) public
createApplication () protected
getHeaderEmitted (string $header, bool $ignoreCase = false, string $method = __METHOD__) protected
phpDG v1.0.0 CIUnitTestCase.php 662 files 498 classes 763 fn
Generated