PHP Class Yasumi\tests\Australia\EasterMondayTest

Inheritance: extends AustraliaBaseTestCase, implements Yasumi\tests\YasumiTestCaseInterface
Show file Open project: azuyalabs/yasumi

Public Methods

Method Description
HolidayDataProvider ( ) : array Returns a list of test dates
testHoliday ( integer $year, string $expected ) Tests Easter Monday
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests the translated name of the holiday defined in this test.

Method Details

HolidayDataProvider() public method

Returns a list of test dates
public HolidayDataProvider ( ) : array
return array list of test dates for the holiday defined in this test

testHoliday() public method

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

testHolidayType() public method

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

testTranslation() public method

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