public function testTryUnpackReturnsAllUnpackedData() { $foo = [1, 2]; $bar = 'bar'; $packed = "��bar"; $this->unpacker->append($packed); $this->assertSame([$foo, $bar], $this->unpacker->tryUnpack()); }