Permalink
Browse files

Adding failing test for doctrine/common#72

  • Loading branch information...
Ocramius committed Nov 9, 2012
1 parent df4e23e commit 961788d414423e012f1decee85d978f3b7c4c4d7
Showing with 6 additions and 0 deletions.
  1. +6 −0 tests/Doctrine/Tests/Common/Collections/CollectionTest.php
@@ -218,4 +218,10 @@ public function testCanRemoveNullValuesByKey()
$this->_coll->remove(0);
$this->assertTrue($this->_coll->isEmpty());
}
+
+ public function testCanVerifyExistingKeysWithNullValues()
+ {
+ $this->_coll->set('key', null);
+ $this->assertTrue($this->_coll->containsKey('key'));
+ }
}

0 comments on commit 961788d

Please sign in to comment.