| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 12 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| 1 | <?php | ||
| 10 | 	public function testAnyFieldIsPresentInSearchField() { | ||
| 11 | $values = array ( | ||
| 12 | 'Key' => 'Value' | ||
| 13 | ); | ||
| 14 | 		$enumField = new DBEnum('testField', $values); | ||
| 15 | |||
| 16 | $searchField = $enumField->scaffoldSearchField(); | ||
| 17 | |||
| 18 | 		$anyText = "(" . _t('Enum.ANY', 'Any') . ")"; | ||
| 19 | $this->assertEquals(true, $searchField->getHasEmptyDefault()); | ||
| 20 | $this->assertEquals($anyText, $searchField->getEmptyString()); | ||
| 21 | } | ||
| 22 | |||
| 49 |