[ticket/11450] Move mocked class into mock/metadata_manager.php

PHPBB3-11450