Longman\TelegramBot\Tests\Unit\WebhookInfoTest::testGetHasCustomCertificate PHP Méthode

testGetHasCustomCertificate() public méthode

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);
    }