Longman\TelegramBot\Tests\Unit\WebhookInfoTest::testGetHasCustomCertificate PHP 메소드

testGetHasCustomCertificate() 공개 메소드

Testing getHasCustomCertificate
    public function testGetHasCustomCertificate()
    {
        $webhook = new WebhookInfo($this->data);
        $custom_certificate = $webhook->getHasCustomCertificate();
        $this->assertInternalType('bool', $custom_certificate);
        $this->assertEquals($this->data['has_custom_certificate'], $custom_certificate);
    }