Longman\TelegramBot\Tests\Unit\ConversationTest::testNewConversationThatWillExistWithCommand PHP Method

testNewConversationThatWillExistWithCommand() public method

    public function testNewConversationThatWillExistWithCommand()
    {
        $info = TestHelpers::startFakeConversation();
        $conversation = new Conversation($info['user_id'], $info['chat_id'], 'command');
        $this->assertTrue($conversation->exists());
        $this->assertEquals('command', $conversation->getCommand());
    }