public function testApiGet_ReturnsDefault_ForNonExistingElement() { $support = $this->createArraySupportMock(); $array = $this->getArray(); $std = new StdClass(); $this->assertSame($std, $support::get($array, 'x.a.c', $std)); }