* */ /** * Mock class used to count number of calls for the ProcessImage static method * * @used-by \Combodo\iTop\Test\UnitTest\Core\Sanitizer\HTMLDOMSanitizerTest::testDoSanitizeCallInlineImageProcessImageTag() */ class InlineImageMock { private static $iCallCounter = 0; public static function ProcessImageTag(DOMNode $oNode) { self::$iCallCounter++; } public static function ResetCallCounter() { self::$iCallCounter = 0; } public static function GetCallCounter() { return self::$iCallCounter; } }