PHP Class Yasumi\tests\Netherlands\EpiphanyTest

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

Public Methods

Method Description
EpiphanyDataProvider ( ) : array Returns a list of random test dates used for assertion of Epiphany.
testEpiphany ( integer $year, DateTime $expected ) Tests Epiphany.
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests the translated name of the holiday defined in this test.

Method Details

EpiphanyDataProvider() public method

Returns a list of random test dates used for assertion of Epiphany.
public EpiphanyDataProvider ( ) : array
return array list of test dates for Epiphany

testEpiphany() public method

Tests Epiphany.
public testEpiphany ( integer $year, DateTime $expected )
$year integer the year for which Epiphany needs to be tested
$expected DateTime 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 ( )