PHP Class Yasumi\tests\USA\ChristmasDayTest

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

Public Methods

Method Description
testChristmasDay ( ) Tests Christmas Day. Christmas Day is celebrated on December 25th.
testChristmasDaySubstitutedFriday ( ) Tests Christmas Day substituted on Monday (when Christmas Day falls on Saturday).
testChristmasDaySubstitutedMonday ( ) Tests Christmas Day substituted on Monday (when Christmas Day falls on Sunday).
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests translated name of the holiday defined in this test.

Method Details

testChristmasDay() public method

Tests Christmas Day. Christmas Day is celebrated on December 25th.
public testChristmasDay ( )

testChristmasDaySubstitutedFriday() public method

Tests Christmas Day substituted on Monday (when Christmas Day falls on Saturday).

testChristmasDaySubstitutedMonday() public method

Tests Christmas Day substituted on Monday (when Christmas Day falls on Sunday).

testHolidayType() public method

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

testTranslation() public method

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