21 private $sourceMockTwo;
30 $this->sourceMock = $this->getMockBuilder(ConfigSourceInterface::class)
31 ->getMockForAbstractClass();
32 $this->sourceMockTwo = $this->getMockBuilder(ConfigSourceInterface::class)
33 ->getMockForAbstractClass();
37 'source' => $this->sourceMockTwo,
41 'source' => $this->sourceMock,
53 $this->sourceMock->expects($this->once())
56 ->willReturn([
'key' =>
'value1',
'test' =>
false]);
57 $this->sourceMockTwo->expects($this->once())
60 ->willReturn([
'key' =>
'value2']);
66 $this->source->get(
$path)