public function testPackCustomType()
{
$obj = new \stdClass();
$transformer = $this->getTransformerMock(5);
$transformer->expects($this->once())->method('transform')->willReturn(1);
$coll = $this->getTransformerCollectionMock([$transformer]);
$coll->expects($this->once())->method('match')->with($obj);
$this->packer->setTransformers($coll);
$this->assertSame("�", $this->packer->pack($obj));
}