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