I wonder if this is the best way to do the verification, or if we should set a Jasmine spy on the mock impl's writeFile() API.  If there were some bug in the future where we set the cached `File._contents` but never wrote the file to disk, as currently written this test would still pass.