/** * @covers Guzzle\Common\Collection::getPregMatchValue */ public function testReturnsValuesForPregMatch() { $c = new Collection(array('foo' => 'bar')); $this->assertEquals('bar', $c->getPregMatchValue(array(1 => 'foo'))); }