Kraken\_Unit\Filesystem\FilesystemAdapterSimpleFactoryTest::testApiParam_ReturnsDefault_WhenParamDoesNotExistButDefaultDoes PHP Method

testApiParam_ReturnsDefault_WhenParamDoesNotExistButDefaultDoes() public method

    public function testApiParam_ReturnsDefault_WhenParamDoesNotExistButDefaultDoes()
    {
        $std = new StdClass();
        $factory = $this->createFilesystemAdapterSimpleFactory(['key' => $std]);
        $this->assertSame($std, $this->callProtectedMethod($factory, 'param', [[], 'key']));
    }