/**
  * @group DDC-1637
  */
 public function testMatching()
 {
     $this->fillMatchingFixture();
     $col = $this->_coll->matching(new Criteria($this->_coll->expr()->eq("foo", "bar")));
     $this->assertInstanceOf('Doctrine\\Common\\Collections\\Collection', $col);
     $this->assertNotSame($col, $this->_coll);
     $this->assertEquals(1, count($col));
 }