def METHOD_NAME(self):
    cmd = RemoveFile("testing", self.filepath)
    cmd.propagate_env_map['foo'] = 1
    cmd.run(validateAfter=True)
    self.assertFalse(os.path.exists(self.filepath))
    self.assertTrue(os.path.exists(self.dir))