BrowscapTest\Data\PlatformTest::testGetter PHP Method

testGetter() public method

tests setter and getter for the match property
public testGetter ( )
    public function testGetter()
    {
        $match = 'TestMatchName';
        $properties = ['abc' => 'def'];
        $object = new Platform($match, $properties, true, false);
        self::assertSame($match, $object->getMatch());
        self::assertSame($properties, $object->getProperties());
        $this->assertTrue($object->isLite());
        $this->assertFalse($object->isStandard());
    }
PlatformTest