File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
tests/unit/Jumper/Stringifier Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ public function setUp()
1414 $ this ->stringifier = new Json ();
1515 }
1616
17+ /**
18+ * @test
19+ */
20+ public function getSerializeFunctionNameShouldReturnNativeSerializerFunctionName ()
21+ {
22+ $ this ->assertEquals ('json_encode ' , $ this ->stringifier ->getSerializeFunctionName ());
23+ }
24+
1725 /**
1826 * @test
1927 */
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ public function setUp()
1414 $ this ->stringifier = new Native ();
1515 }
1616
17+ /**
18+ * @test
19+ */
20+ public function getSerializeFunctionNameShouldReturnNativeSerializerFunctionName ()
21+ {
22+ $ this ->assertEquals ('serialize ' , $ this ->stringifier ->getSerializeFunctionName ());
23+ }
24+
1725 /**
1826 * @test
1927 */
Original file line number Diff line number Diff line change @@ -14,6 +14,14 @@ public function setUp()
1414 $ this ->stringifier = new VarExportEval ();
1515 }
1616
17+ /**
18+ * @test
19+ */
20+ public function getSerializeFunctionNameShouldReturnNativeSerializerFunctionName ()
21+ {
22+ $ this ->assertEquals ('var_export ' , $ this ->stringifier ->getSerializeFunctionName ());
23+ }
24+
1725 /**
1826 * @test
1927 */
You can’t perform that action at this time.
0 commit comments