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

testGetPendingUpdateCount() 공개 메소드

Testing getPendingUpdateCount
    public function testGetPendingUpdateCount()
    {
        $webhook = new WebhookInfo($this->data);
        $update_count = $webhook->getPendingUpdateCount();
        $this->assertInternalType('int', $update_count);
        $this->assertEquals($this->data['pending_update_count'], $update_count);
    }