component extends="mxunit.framework.TestCase" { function setTimeOnNonExistentFile() { var filePathName = "/tmp/this_file_totes_doesnt_exist_baby.txt"; var now = now(); try { fileSetLastModified(filePathName, now); fail("fileSetLastModified should throw an error for non-existent files."); } catch (mxunit.exception.AssertionFailedError e) { rethrow; } catch (any e) {} } }