BrowscapTest\Data\DataCollectionTest::testAddSourceFileThrowsExceptionIfChildrenPropertyIsNotAnArray PHP Method

testAddSourceFileThrowsExceptionIfChildrenPropertyIsNotAnArray() public method

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