BrowscapTest\Data\DataCollectionTest::testAddSourceFileThrowsExceptionIfChildrenIsNotAnArray PHP Method

testAddSourceFileThrowsExceptionIfChildrenIsNotAnArray() public method

checks if a exception is thrown if the sortindex property is missing
    public function testAddSourceFileThrowsExceptionIfChildrenIsNotAnArray()
    {
        $this->object->addSourceFile(__DIR__ . '/../../fixtures/ua/ua-with-children-with-match.json');
    }
DataCollectionTest