public function testRemoveFieldWithInvalidName() { $fields = array('test1' => array('snippets' => 2), 'test2' => array('snippets' => 5)); $this->hlt->addFields($fields); $this->assertEquals(array('test1', 'test2'), array_keys($this->hlt->getFields())); $this->hlt->removeField('test1=3'); // should fail silently and do nothing $this->assertEquals(array('test1', 'test2'), array_keys($this->hlt->getFields())); }