You are here

public function CollectionTest::testSearch in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php \Doctrine\Tests\Common\Collections\CollectionTest::testSearch()

File

vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php, line 101

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function testSearch() {
  $this->collection[0] = 'test';
  $this
    ->assertEquals(0, $this->collection
    ->indexOf('test'));
}