1 | <?php |
||
21 | class BasicEnumTest extends UnitTestCase |
||
22 | { |
||
23 | //<editor-fold desc="Public Methods"> |
||
24 | /** |
||
25 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::ensureValidValue |
||
26 | * @uses \Tfboe\FmLib\Exceptions\ValueNotValid::__construct |
||
27 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
28 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getValues |
||
29 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::isValidValue |
||
30 | */ |
||
31 | public function testEnsureValidValueException() |
||
41 | |||
42 | /** |
||
43 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getNames |
||
44 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
45 | */ |
||
46 | public function testGetNames() |
||
50 | |||
51 | /** |
||
52 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getName |
||
53 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getNamesArray |
||
54 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
55 | */ |
||
56 | public function testGetName() |
||
63 | |||
64 | /** |
||
65 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getName |
||
66 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getNamesArray |
||
67 | * @uses \Tfboe\FmLib\Exceptions\ValueNotValid::__construct |
||
68 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
69 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getValues |
||
70 | */ |
||
71 | public function testGetNameException() |
||
79 | |||
80 | /** |
||
81 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getValue |
||
82 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getCaseMapping |
||
83 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
84 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getNames |
||
85 | */ |
||
86 | public function testGetValue() |
||
95 | |||
96 | /** |
||
97 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getValue |
||
98 | * @uses \Tfboe\FmLib\Exceptions\ValueNotValid::__construct |
||
99 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
100 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getValues |
||
101 | */ |
||
102 | public function testGetValueException() |
||
110 | |||
111 | /** |
||
112 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::getValues |
||
113 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
114 | */ |
||
115 | public function testGetValues() |
||
119 | |||
120 | /** |
||
121 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::isValidName |
||
122 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
123 | */ |
||
124 | public function testIsValidName() |
||
133 | |||
134 | /** |
||
135 | * @covers \Tfboe\FmLib\Helpers\BasicEnum::isValidValue |
||
136 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getConstants |
||
137 | * @uses \Tfboe\FmLib\Helpers\BasicEnum::getValues |
||
138 | */ |
||
139 | public function testIsValidValue() |
||
149 | //</editor-fold desc="Public Methods"> |
||
150 | |||
151 | //<editor-fold desc="Protected Methods"> |
||
152 | /** |
||
153 | * @before |
||
154 | */ |
||
155 | protected function clearStaticVariables() |
||
162 | //</editor-fold desc="Protected Methods"> |
||
163 | } |