You are here

public function CollectionTest::testCanVerifyExistingKeysWithNullValues 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::testCanVerifyExistingKeysWithNullValues()

File

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

Class

CollectionTest

Namespace

Doctrine\Tests\Common\Collections

Code

public function testCanVerifyExistingKeysWithNullValues() {
  $this->collection
    ->set('key', null);
  $this
    ->assertTrue($this->collection
    ->containsKey('key'));
}