GraphAware\Reco4PHP\Tests\Config\SimpleConfigUnitTest::testConfigExtendsKeyValue PHP Method

testConfigExtendsKeyValue() public method

    public function testConfigExtendsKeyValue()
    {
        $config = new SimpleConfig();
        $config->add('month', 'june');
        $config->add('obj', FakeNode::createDummy());
        $this->assertEquals('june', $config->get('month'));
        $this->assertInstanceOf(Node::class, $config->get('obj'));
    }