public function CollectionTest::fillMatchingFixture

3 calls to CollectionTest::fillMatchingFixture()
CollectionTest::testMatching in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637
CollectionTest::testMatchingOrdering in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637
CollectionTest::testMatchingSlice in drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@group DDC-1637

File

drupal/core/vendor/doctrine/common/tests/Doctrine/Tests/Common/Collections/CollectionTest.php, line 197

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function fillMatchingFixture() {
  $std1 = new \stdClass();
  $std1->foo = "bar";
  $this->_coll[] = $std1;
  $std2 = new \stdClass();
  $std2->foo = "baz";
  $this->_coll[] = $std2;
}