Checks that a string matches a file in src/jvmTest/resources. When environment variable UPDATE_TEST_REF=true, instead of checking, this functions updates the file with the expected content.
src/jvmTest/resources