def TEST_write_to_new_file(self):
     my_file = FileService.create_file_at_location("Resources", "tomato")
     url_path = "Resources/test.json"
     string_data = FileService.get_object_from_path(url_path)
     new_data = FileService.convert_string_to_data_class_action(string_data)
     new_shell = DataClassShell(new_data)
     FileService.write_to_file(my_file, new_shell.to_json())
 def TEST_write_to_new_file(self):
     my_file = FileService.create_file_at_location("Resources", "tomato")
     url_path = "Resources/test.json"
     string_data = FileService.get_object_from_path(url_path)
     new_data = FileService.convert_string_to_data_class_action(string_data)
     new_shell = DataClassShell(new_data)
     FileService.write_to_file(my_file, new_shell.to_json())