public function testSetExcludes() { $this->field->addExcludes(array('e1', 'e2')); $this->field->setExcludes(array('e3', 'e4')); $this->assertEquals(array('e3', 'e4'), $this->field->getExcludes()); }