+ public static function dataGet() {
+ // Make sure the defaults are last, so the $bag is left as expected for the next test
+ return [
+ [ 'JSON', '12345', 'JSON.Us1wli82zEJ6DNQnCG//w+MShOFrdx9wCdfTUhPPA2w=."somedata"' ],
+ [ 'JSON', '', 'JSON.."somedata"' ],
+ [ 'PHP', '12345', 'PHP.t2EKhUF4l65kZqWhoAnKW8ZPzekDYfrDxTkQcVmGsuM=.s:8:"somedata";' ],
+ [ 'PHP', '', 'PHP..s:8:"somedata";' ],
+ [ 'legacy', '', 's:8:"somedata";' ],
+ ];
+ }
+