@@ -70,7 +70,7 @@ public function testIsAddingBirthdayFields(array $fieldConfiguration, array $exp
7070 /**
7171 * @dataProvider basicDataProvider
7272 */
73- public function testIsAddingSpecificYears (array $ fieldConfiguration , array $ expected ): void
73+ public function testIsAddingGivenYears (array $ fieldConfiguration , array $ expected ): void
7474 {
7575 $ years = [2000 , 2001 , 2002 , 2003 , 2004 , 2005 ];
7676
@@ -87,7 +87,7 @@ public function testIsAddingSpecificYears(array $fieldConfiguration, array $expe
8787 /**
8888 * @dataProvider basicDataProvider
8989 */
90- public function testIsThrowingExceptionWhenYearsArrayHasNonNumericalValues (array $ fieldConfiguration , array $ expected ): void
90+ public function testItDoesNotAllowNonNumericalValuesForGivenYears (array $ fieldConfiguration , array $ expected ): void
9191 {
9292 $ this ->expectException (NumberFormatException::class);
9393
@@ -148,7 +148,7 @@ public function testItDoesNotAllowNegativeValuesForAllowedAges(array $fieldConfi
148148 /**
149149 * @dataProvider basicDataProvider
150150 */
151- public function testWithRangeZero (array $ fieldConfiguration , array $ expected ): void
151+ public function isAllowingtoLeaveWithoutRestrictionForAllowedAges (array $ fieldConfiguration , array $ expected ): void
152152 {
153153 $ minAgeAllowed = 0 ;
154154 $ maxAgeAllowed = 0 ;
@@ -167,7 +167,7 @@ public function testWithRangeZero(array $fieldConfiguration, array $expected): v
167167 /**
168168 * @dataProvider basicDataProvider
169169 */
170- public function testIsThrowExceptionWhenMinAgeAllowedValueIsLargerThanMaxAgeAllowed (array $ fieldConfiguration , array $ expected ): void
170+ public function testIsBlockingWhenMinAgeAllowedValueIsLargerThanMaxAgeAllowed (array $ fieldConfiguration , array $ expected ): void
171171 {
172172 $ this ->expectException (InvalidConfigurationException::class);
173173
@@ -221,7 +221,7 @@ public function testIsAddingAgeRangeOrderDesc(array $fieldConfiguration, array $
221221 /**
222222 * @dataProvider basicDataProvider
223223 */
224- public function testIsAddingAgeRangeWithBadOrderWord (array $ fieldConfiguration , array $ expected ): void
224+ public function testIsShowingYearsRangeSortedByDefaultWhenAnInvalidOrderIsAssigned (array $ fieldConfiguration , array $ expected ): void
225225 {
226226 $ minAgeAllowed = 18 ;
227227 $ maxAgeAllowed = 120 ;
@@ -241,7 +241,7 @@ public function testIsAddingAgeRangeWithBadOrderWord(array $fieldConfiguration,
241241 /**
242242 * @dataProvider basicDataProvider
243243 */
244- public function testWithOrderButWithoutRange (array $ fieldConfiguration , array $ expected ): void
244+ public function testIsOmittingOrderParameterWhenAllowedAgeParametersAreNotAssigned (array $ fieldConfiguration , array $ expected ): void
245245 {
246246 $ fieldConfiguration ['options ' ]['order ' ] = 'asc ' ;
247247
@@ -254,7 +254,7 @@ public function testWithOrderButWithoutRange(array $fieldConfiguration, array $e
254254 /**
255255 * @dataProvider basicDataProvider
256256 */
257- public function testWithAgeRangeAndSpecificYearsArray (array $ fieldConfiguration , array $ expected ): void
257+ public function testIsHavingAllowedAgesMorePriorityOverYearsGivenForTheResponse (array $ fieldConfiguration , array $ expected ): void
258258 {
259259 $ minAgeAllowed = 18 ;
260260 $ maxAgeAllowed = 120 ;
0 commit comments