public function getType() { return $this->type; }
public function testGetType() { $e = new Element('text', 'email'); $this->assertEquals('text', $e->getType()); }