PHP Class Yasumi\tests\Italy\AllSaintsDayTest

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

Public Methods

Method Description
AllSaintsDayDataProvider ( ) : array Returns a list of random test dates used for assertion of All Saints' Day.
testAssumptionOfMary ( integer $year, DateTime $expected ) Tests All Saints' Day.
testHolidayType ( ) Tests type of the holiday defined in this test.
testTranslation ( ) Tests translated name of All Saints' Day.

Method Details

AllSaintsDayDataProvider() public method

Returns a list of random test dates used for assertion of All Saints' Day.
public AllSaintsDayDataProvider ( ) : array
return array list of test dates for All Saints' Day

testAssumptionOfMary() public method

Tests All Saints' Day.
public testAssumptionOfMary ( integer $year, DateTime $expected )
$year integer the year for which All Saints' Day 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 translated name of All Saints' Day.
public testTranslation ( )