BrowscapTest\Data\ExpanderTest::testGetDataCollectionReturnsSameDatacollectionAsInserted PHP Method

testGetDataCollectionReturnsSameDatacollectionAsInserted() public method

tests setter and getter for the data collection
    public function testGetDataCollectionReturnsSameDatacollectionAsInserted()
    {
        $collection = $this->createMock(\Browscap\Data\DataCollection::class);
        $this->object->setLogger($this->logger);
        self::assertSame($this->object, $this->object->setDataCollection($collection));
        self::assertSame($collection, $this->object->getDataCollection());
    }