BrowscapTest\Data\DataCollectionTest::testAddSourceFileThrowsExceptionIfChildrenHasDeviceProperties PHP Method

testAddSourceFileThrowsExceptionIfChildrenHasDeviceProperties() public method

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