PhpOffice\PhpPresentation\Tests\Style\ColorTest::testConstruct PHP Метод

testConstruct() публичный Метод

Test create new instance
public testConstruct ( )
    public function testConstruct()
    {
        $object = new Color();
        $this->assertEquals(Color::COLOR_BLACK, $object->getARGB());
        $object = new Color(COLOR::COLOR_BLUE);
        $this->assertEquals(Color::COLOR_BLUE, $object->getARGB());
    }