PHP Класс Yasumi\tests\Portugal\InternationalWorkersDayTest

Наследование: extends PortugalBaseTestCase, implements Yasumi\tests\YasumiTestCaseInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

InternationalWorkersDayDataProvider() публичный Метод

Returns a list of random test dates used for assertion of International Workers' Day.
public InternationalWorkersDayDataProvider ( ) : array
Результат array list of test dates for International Workers' Day

testHolidayType() публичный Метод

Tests type of the holiday defined in this test.
public testHolidayType ( )

testInternationalWorkersDay() публичный Метод

Tests International Workers' Day.
public testInternationalWorkersDay ( integer $year, DateTime $expected )
$year integer the year for which International Workers' Day needs to be tested
$expected DateTime the expected date

testTranslation() публичный Метод

Tests translated name of the holiday defined in this test.
public testTranslation ( )