public function test_set_elements() { $array = array('TEST' => 'VALUE'); $this->parser->setElements($array); $this->assertEquals($this->parser->getElements(), $array); }
public function test_set_elements_non_array() { $this->setExpectedException('ErrorException'); $this->parser->setElements(new stdClass()); }