/**
  * @dataProvider isSerializedProvider()
  */
 public function testIsSerialized($expected, $str, $encoding = null)
 {
     $result = S::isSerialized($str, $encoding);
     $this->assertInternalType('boolean', $result);
     $this->assertEquals($expected, $result);
 }
Beispiel #2
0
 public function isSerialized($string)
 {
     return Stringy::isSerialized($string);
 }