BrowscapTest\Data\DataCollectionTest::testAddSourceFileThrowsExceptionIfNoChildrenPropertyIsAvailable PHP Method

testAddSourceFileThrowsExceptionIfNoChildrenPropertyIsAvailable() public method

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