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

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

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

Метод Описание
HolidayDataProvider ( ) : array Returns a list of random test dates used for assertion of the holiday defined in this test.
testHoliday ( integer $year, DateTime $expected ) Tests the holiday defined in this test.
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests the translated name of the holiday defined in this test.

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

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

Returns a list of random test dates used for assertion of the holiday defined in this test.
public HolidayDataProvider ( ) : array
Результат array list of test dates for the day of the holiday defined in this test

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

Tests the holiday defined in this test.
public testHoliday ( integer $year, DateTime $expected )
$year integer the year for which the holiday defined in this test needs to be tested
$expected DateTime the expected date

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

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

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

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