public function testGetSourcesReturnsAssociativeArray() { $expected = ['stdlib' => ":git => 'https://github.com/puphpet/puppetlabs-stdlib.git'"]; $result = $this->extension->getSources(); $this->assertArrayHasKey('stdlib', $result); $this->assertEquals($expected['stdlib'], $result['stdlib']); }
public function testGetSourcesReturnsEmptyArrayWhenSourcesEmpty() { $expected = []; $this->assertEquals($expected, $this->extension->getSources()); }