File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -93,4 +93,31 @@ public function provideTestBackupStaticAttributes()
93
93
[]
94
94
];
95
95
}
96
+
97
+ /**
98
+ * Tests deserialization.
99
+ *
100
+ * @test
101
+ * @runInSeparateProcess
102
+ * @dataProvider provideTestDeserializationInNewProcess
103
+ */
104
+ public function testDeserializationInNewProcess ($ data )
105
+ {
106
+ unserialize ($ data );
107
+ }
108
+
109
+ /**
110
+ * Returns test cases for testDeserializationInNewProcess().
111
+ *
112
+ * @return array Test cases.
113
+ */
114
+ public function provideTestDeserializationInNewProcess ()
115
+ {
116
+ $ builder = new MockDelegateFunctionBuilder ();
117
+ $ builder ->build ("min " );
118
+
119
+ return [
120
+ [serialize ($ this ->getMockForAbstractClass ($ builder ->getFullyQualifiedClassName ()))]
121
+ ];
122
+ }
96
123
}
You can’t perform that action at this time.
0 commit comments