def METHOD_NAME(self):
    sync_flow = self.create_sync_flow()
    sync_flow._definition_uri = "path"
    with patch("builtins.open", mock_open(read_data='{"key": "value"}')) as mock_file:
        data = sync_flow._process_definition_file()
        self.assertEqual(data, '{"key": "value"}')