PHP Класс Yasumi\tests\Croatia\StStephensDayTest

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

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

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

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

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

Returns a list of random test dates used for assertion of St. Stephen's Day.
public stStephensDayDataProvider ( ) : array
Результат array list of test dates for St. Stephen's Day

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

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

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

Tests translated name of St. Stephen's Day.
public testTranslation ( )

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

Tests the day of St. Stephen's Day.
public teststStephensDay ( integer $year, DateTime $expected )
$year integer the year for which St. Stephen's Day needs to be tested
$expected DateTime the expected date