public function testSerialize() { $this->if($adapter = new testedClass())->then->string(serialize($adapter))->isNotEmpty()->if($adapter->md5 = function () { })->then->string(serialize($adapter))->isNotEmpty(); }