diff --git a/tests/FormBuilderTest.php b/tests/FormBuilderTest.php
index 77195d5..ee8ac49 100644
--- a/tests/FormBuilderTest.php
+++ b/tests/FormBuilderTest.php
@@ -278,6 +278,27 @@ class FormBuilderTest extends PHPUnit_Framework_TestCase
['name' => 'select-name']
);
$this->assertEquals($select, '');
+
+ $select = $this->formBuilder->select(
+ 'size',
+ [
+ 'Large sizes' => [
+ 'L' => 'Large',
+ 'XL' => 'Extra Large',
+ ],
+ 'S' => 'Small',
+ ],
+ null,
+ [
+ 'class' => 'class-name',
+ 'id' => 'select-id',
+ ]
+ );
+
+ $this->assertEquals(
+ $select,
+ ''
+ );
}
public function testFormSelectRepopulation()