{"action":"created","issue":{"url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/315","repository_url":"https://api.github.com/repos/rubenlagus/TelegramBots","labels_url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/315/labels{/name}","comments_url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/315/comments","events_url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/315/events","html_url":"https://github.com/rubenlagus/TelegramBots/issues/315","id":262825120,"number":315,"title":"How i test my bot ?","user":{"login":"damorosodaragona","id":15249587,"avatar_url":"https://avatars1.githubusercontent.com/u/15249587?v=4","gravatar_id":"","url":"https://api.github.com/users/damorosodaragona","html_url":"https://github.com/damorosodaragona","followers_url":"https://api.github.com/users/damorosodaragona/followers","following_url":"https://api.github.com/users/damorosodaragona/following{/other_user}","gists_url":"https://api.github.com/users/damorosodaragona/gists{/gist_id}","starred_url":"https://api.github.com/users/damorosodaragona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/damorosodaragona/subscriptions","organizations_url":"https://api.github.com/users/damorosodaragona/orgs","repos_url":"https://api.github.com/users/damorosodaragona/repos","events_url":"https://api.github.com/users/damorosodaragona/events{/privacy}","received_events_url":"https://api.github.com/users/damorosodaragona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-10-04T15:12:38Z","updated_at":"2017-10-06T10:55:30Z","closed_at":null,"author_association":"NONE","body":"Hi, i have a class MyBot that extends TelegramLongPollingCommandBot implements LongPollingBot, know i want write test, i have try with Mockito but i can't understand to use it for testing the bot.\r\nI have find an example test class here https://github.com/addo37/ExampleBots/blob/master/src/test/java/org/telegram/examplebots/ExampleBotTest.java but it work only if i use AbilityBot API, there is a way to do this without using that API?\r\n"},"comment":{"url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/comments/334723425","html_url":"https://github.com/rubenlagus/TelegramBots/issues/315#issuecomment-334723425","issue_url":"https://api.github.com/repos/rubenlagus/TelegramBots/issues/315","id":334723425,"user":{"login":"rubenlagus","id":2874352,"avatar_url":"https://avatars3.githubusercontent.com/u/2874352?v=4","gravatar_id":"","url":"https://api.github.com/users/rubenlagus","html_url":"https://github.com/rubenlagus","followers_url":"https://api.github.com/users/rubenlagus/followers","following_url":"https://api.github.com/users/rubenlagus/following{/other_user}","gists_url":"https://api.github.com/users/rubenlagus/gists{/gist_id}","starred_url":"https://api.github.com/users/rubenlagus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubenlagus/subscriptions","organizations_url":"https://api.github.com/users/rubenlagus/orgs","repos_url":"https://api.github.com/users/rubenlagus/repos","events_url":"https://api.github.com/users/rubenlagus/events{/privacy}","received_events_url":"https://api.github.com/users/rubenlagus/received_events","type":"User","site_admin":false},"created_at":"2017-10-06T10:55:30Z","updated_at":"2017-10-06T10:55:30Z","author_association":"OWNER","body":"Hi @damorosodaragona , have a look at those tests: https://github.com/rubenlagus/TelegramBots/blob/master/telegrambots/src/test/java/org/telegram/telegrambots/test/TestRestApi.java"}}
{"actor":{"display_login":"rubenlagus"}}