| 1 | <?php |
||
| 24 | final class MaritalStatusChoicesTest extends PHPUnit_Framework_TestCase { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Tests the getChoices() method. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function testGetChoices() { |
||
| 32 | |||
| 33 | $res = [-1 => "choices.marital-status.empty", 66 => "choices.marital-status.single", 39 => "choices.marital-status.pacs", 68 => "choices.marital-status.married", 80 => "choices.marital-status.divorced", 97 => "choices.marital-status.widower"]; |
||
| 34 | $this->assertEquals($res, MaritalStatusChoices::getChoices()); |
||
| 35 | } |
||
| 36 | |||
| 37 | } |
||
| 38 |