getProviders() public static method

Returns a list of available holiday providers.
public static getProviders ( ) : array
return array list of available holiday providers
Beispiel #1
0
 /**
  * Tests that the getProviders function returns an array containing all available holiday providers.
  */
 public function testGetProviders()
 {
     $providers = Yasumi::getProviders();
     $this->assertNotEmpty($providers);
     $this->assertInternalType('array', $providers);
     $this->assertContains('Netherlands', $providers);
 }