BrowscapTest\Data\DataCollectionTest::testAddSourceFileThrowsExceptionIfNoNameIsAvailableForUseragent PHP Method

testAddSourceFileThrowsExceptionIfNoNameIsAvailableForUseragent() public method

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