Collections\Tests\Dictionary\MergeTest::test_merge_of_non_array PHP Method

test_merge_of_non_array() public method

    public function test_merge_of_non_array()
    {
        $this->expectException(\InvalidArgumentException::class);
        $d = (new Dictionary('string', 'int'))->add('a', 1);
        $result = $d->merge(3);
    }