Hack to allow unit tests to call private method. Do not use.
void test_patch_addContext(Patch patch, String text) { _patch_addContext(patch, text); }