public function testRemoveAll()
 {
     $this->map->set('foo', 'bar', 'value1');
     $this->map->set('foo', 'baz', 'value2');
     $this->map->set('foo', 'bam', 'value3');
     $this->map->set('bar', 'boo', 'value4');
     $this->map->removeAll('foo');
     $this->assertFalse($this->map->contains('foo'));
     $this->assertFalse($this->map->contains('foo', 'bar'));
     $this->assertFalse($this->map->contains('foo', 'baz'));
     $this->assertFalse($this->map->contains('foo', 'bam'));
     $this->setExpectedException('\\OutOfBoundsException');
     $this->map->listByPrimaryKey('foo');
 }