public function testMatchReturnsTransformer()
{
$value = new \stdClass();
$t1 = $this->getTransformerMock(1);
$t1->expects($this->once())->method('supports')->with($value)->willReturn(false);
$this->coll->add($t1);
$t2 = $this->getTransformerMock(2);
$t2->expects($this->once())->method('supports')->with($value)->willReturn(true);
$this->coll->add($t2);
$t3 = $this->getTransformerMock(3);
$t3->expects($this->exactly(0))->method('supports');
$this->coll->add($t3);
$this->assertSame($t2, $this->coll->match($value));
}