You are here

public function CollectionTest::fillMatchingFixture in Plug 7

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

File

lib/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php, line 198

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

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