Method | Description | |
---|---|---|
InternationalWorkersDayDataProvider ( ) : array | Returns a list of random test dates used for assertion of International Workers' Day. | |
testHolidayType ( ) | Tests type of the holiday defined in this test. | |
testInternationalWorkersDay ( integer $year, DateTime $expected ) | Tests International Workers' Day. | |
testTranslation ( ) | Tests translated name of the holiday defined in this test. |
public InternationalWorkersDayDataProvider ( ) : array | ||
return | array | list of test dates for International Workers' Day |
public testHolidayType ( ) |
public testInternationalWorkersDay ( integer $year, DateTime $expected ) | ||
$year | integer | the year for which International Workers' Day needs to be tested |
$expected | DateTime | the expected date |
public testTranslation ( ) |