/** * @return EmptyEnum */ public static function getFieldsEnum() { return EmptyEnum::getInstance(); }
public function testEmptyEnum() { $enum = EmptyEnum::getInstance(); $this->assertEquals(array(), $enum->getArrayCopy()); $this->assertEquals(array(), $enum->getNames()); $this->assertEquals(array(), $enum->getValues()); $this->assertEquals(array(), $enum->getValuesMap()); }