public getCommand ( ) : string | null | ||
리턴 | string | null |
public function getCommand()
{
return $this->command;
}
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()); }