public function testAttributeType() { $element = new MultiCheckboxElement(); $attributes = $element->getAttributes(); $this->assertArrayHasKey('type', $attributes); $this->assertEquals('multi_checkbox', $attributes['type']); }