In MediaWiki core, the `ApiFormatRaw` class is a bit special, it isn't exposed directly to users and basically spits out exactly whatever is passed to it. Regardless, we should still have tests for this functionality.
If you're not already familiar with PHPUnit tests, https://www.mediawiki.org/wiki/Manual:PHP_unit_testing/Writing_unit_tests has links to some good material on the basics of testing.
I would suggest creating something similar to [[https://phabricator.wikimedia.org/source/mediawiki/browse/master/tests/phpunit/includes/api/format/ApiFormatNoneTest.php|ApiFormatNoneTest]] (instead of verifying there is no output, you'd verify the output is exactly the same...).
I'll mentor this for #google-code-in-2017