This should do the trick:

https://github.com/Wikia/app/blob/back-to-roots/includes/wikia/tests/WikiaBaseTest.class.php#L262