PHP Class Yasumi\tests\Spain\Catalonia\CataloniaTest

Inheritance: extends CataloniaBaseTestCase
Mostra file Open project: azuyalabs/yasumi

Protected Properties

Property Type Description
$year year random year number used for all tests in this Test Case

Public Methods

Method Description
testBankHolidays ( ) Tests if all bank holidays in Catalonia are defined by the provider class
testNationalHolidays ( ) Tests if all national holidays in Catalonia are defined by the provider class
testObservedHolidays ( ) Tests if all observed holidays in Catalonia are defined by the provider class
testOtherHolidays ( ) Tests if all other holidays in Catalonia are defined by the provider class
testSeasonalHolidays ( ) Tests if all seasonal holidays in Catalonia are defined by the provider class

Protected Methods

Method Description
setUp ( ) Initial setup of this Test Case

Method Details

setUp() protected method

Initial setup of this Test Case
protected setUp ( )

testBankHolidays() public method

Tests if all bank holidays in Catalonia are defined by the provider class
public testBankHolidays ( )

testNationalHolidays() public method

Tests if all national holidays in Catalonia are defined by the provider class

testObservedHolidays() public method

Tests if all observed holidays in Catalonia are defined by the provider class

testOtherHolidays() public method

Tests if all other holidays in Catalonia are defined by the provider class
public testOtherHolidays ( )

testSeasonalHolidays() public method

Tests if all seasonal holidays in Catalonia are defined by the provider class

Property Details

$year protected_oe property

year random year number used for all tests in this Test Case
protected $year