You are here

public function CollectionTest::testContains in Zircon Profile 8

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

File

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

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function testContains() {
  $this->collection[0] = 'test';
  $this
    ->assertTrue($this->collection
    ->contains('test'));
}