BrowscapTest\Data\DataCollectionTest::testSetGetLogger PHP Method

testSetGetLogger() public method

tests the setter and the getter for a logger
public testSetGetLogger ( )
    public function testSetGetLogger()
    {
        $logger = $this->createMock(\Monolog\Logger::class);
        self::assertSame($this->object, $this->object->setLogger($logger));
        self::assertSame($logger, $this->object->getLogger());
    }
DataCollectionTest