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