+ /**
+ * Data provider for both tests.
+ */
+ public function getRedirectData() {
+ return [
+ ['non-existing', ['key' => 'val'], '/test-path', ['dummy' => 'value']],
+ ['non-existing/', ['key' => 'val'], '/test-path', ['dummy' => 'value']],
+ ];
+ }
+