[ticket/11444] Adding "prototype scope" to mock_container

PHPBB3-11444