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())); }