@@ -70,7 +70,7 @@ public function testIsAddingBirthdayFields(array $fieldConfiguration, array $exp
70
70
/**
71
71
* @dataProvider basicDataProvider
72
72
*/
73
- public function testIsAddingSpecificYears (array $ fieldConfiguration , array $ expected ): void
73
+ public function testIsAddingGivenYears (array $ fieldConfiguration , array $ expected ): void
74
74
{
75
75
$ years = [2000 , 2001 , 2002 , 2003 , 2004 , 2005 ];
76
76
@@ -87,7 +87,7 @@ public function testIsAddingSpecificYears(array $fieldConfiguration, array $expe
87
87
/**
88
88
* @dataProvider basicDataProvider
89
89
*/
90
- public function testIsThrowingExceptionWhenYearsArrayHasNonNumericalValues (array $ fieldConfiguration , array $ expected ): void
90
+ public function testItDoesNotAllowNonNumericalValuesForGivenYears (array $ fieldConfiguration , array $ expected ): void
91
91
{
92
92
$ this ->expectException (NumberFormatException::class);
93
93
@@ -148,7 +148,7 @@ public function testItDoesNotAllowNegativeValuesForAllowedAges(array $fieldConfi
148
148
/**
149
149
* @dataProvider basicDataProvider
150
150
*/
151
- public function testWithRangeZero (array $ fieldConfiguration , array $ expected ): void
151
+ public function isAllowingtoLeaveWithoutRestrictionForAllowedAges (array $ fieldConfiguration , array $ expected ): void
152
152
{
153
153
$ minAgeAllowed = 0 ;
154
154
$ maxAgeAllowed = 0 ;
@@ -167,7 +167,7 @@ public function testWithRangeZero(array $fieldConfiguration, array $expected): v
167
167
/**
168
168
* @dataProvider basicDataProvider
169
169
*/
170
- public function testIsThrowExceptionWhenMinAgeAllowedValueIsLargerThanMaxAgeAllowed (array $ fieldConfiguration , array $ expected ): void
170
+ public function testIsBlockingWhenMinAgeAllowedValueIsLargerThanMaxAgeAllowed (array $ fieldConfiguration , array $ expected ): void
171
171
{
172
172
$ this ->expectException (InvalidConfigurationException::class);
173
173
@@ -221,7 +221,7 @@ public function testIsAddingAgeRangeOrderDesc(array $fieldConfiguration, array $
221
221
/**
222
222
* @dataProvider basicDataProvider
223
223
*/
224
- public function testIsAddingAgeRangeWithBadOrderWord (array $ fieldConfiguration , array $ expected ): void
224
+ public function testIsShowingYearsRangeSortedByDefaultWhenAnInvalidOrderIsAssigned (array $ fieldConfiguration , array $ expected ): void
225
225
{
226
226
$ minAgeAllowed = 18 ;
227
227
$ maxAgeAllowed = 120 ;
@@ -241,7 +241,7 @@ public function testIsAddingAgeRangeWithBadOrderWord(array $fieldConfiguration,
241
241
/**
242
242
* @dataProvider basicDataProvider
243
243
*/
244
- public function testWithOrderButWithoutRange (array $ fieldConfiguration , array $ expected ): void
244
+ public function testIsOmittingOrderParameterWhenAllowedAgeParametersAreNotAssigned (array $ fieldConfiguration , array $ expected ): void
245
245
{
246
246
$ fieldConfiguration ['options ' ]['order ' ] = 'asc ' ;
247
247
@@ -254,7 +254,7 @@ public function testWithOrderButWithoutRange(array $fieldConfiguration, array $e
254
254
/**
255
255
* @dataProvider basicDataProvider
256
256
*/
257
- public function testWithAgeRangeAndSpecificYearsArray (array $ fieldConfiguration , array $ expected ): void
257
+ public function testIsHavingAllowedAgesMorePriorityOverYearsGivenForTheResponse (array $ fieldConfiguration , array $ expected ): void
258
258
{
259
259
$ minAgeAllowed = 18 ;
260
260
$ maxAgeAllowed = 120 ;
0 commit comments