public function CollectionTest::testCanRemoveNullValuesByKey in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/collections/tests/Doctrine/Tests/Common/Collections/CollectionTest.php \Doctrine\Tests\Common\Collections\CollectionTest::testCanRemoveNullValuesByKey()
File
- vendor/
doctrine/ collections/ tests/ Doctrine/ Tests/ Common/ Collections/ CollectionTest.php, line 253
Class
Namespace
Doctrine\Tests\Common\CollectionsCode
public function testCanRemoveNullValuesByKey() {
$this->collection
->add(null);
$this->collection
->remove(0);
$this
->assertTrue($this->collection
->isEmpty());
}