Tells whether $object is one of the keys
public containsKey ( ValueObjects\ValueObjectInterface $object ) : boolean | ||
$object | ValueObjects\ValueObjectInterface | |
리턴 | boolean |
public function testContainsKey() { $one = new Integer(1); $ten = new Integer(10); $this->assertTrue($this->dictionary->containsKey($one)); $this->assertFalse($this->dictionary->containsKey($ten)); }