[ticket/11480] Fix unit tests

PHPBB3-11480
[ticket/11480] Header file

PHPBB3-11480