BrowscapTest\Writer\Factory\CustomWriterFactoryTest::testCreateCollection PHP Method

testCreateCollection() public method

tests creating a writer collection
    public function testCreateCollection()
    {
        $logger = $this->createMock(\Monolog\Logger::class);
        $dir = vfsStream::url(self::STORAGE_DIR);
        self::assertInstanceOf(\Browscap\Writer\WriterCollection::class, $this->object->createCollection($logger, $dir));
    }
CustomWriterFactoryTest