{"action":"created","comment":{"url":"https://api.github.com/repos/anodamobi/Alister/pulls/comments/75728059","id":75728059,"diff_hunk":"@@ -0,0 +1,71 @@\n+//\n+//  ANBaseTableViewHeaderFooterViewTests.m\n+//  Alister-Example\n+//\n+//  Created by Maxim Eremenko on 8/22/16.\n+//  Copyright © 2016 Oksana Kovalchuk. All rights reserved.\n+//\n+\n+#import <XCTest/XCTest.h>\n+#import <Expecta/Expecta.h>\n+#import \"ANBaseTableViewHeaderFooterView.h\"\n+\n+@interface ANBaseTableViewHeaderFooterViewTests : XCTestCase\n+\n+@property (nonatomic, strong) ANBaseTableViewHeaderFooterView* view;\n+\n+@end\n+\n+@implementation ANBaseTableViewHeaderFooterViewTests\n+\n+- (void)setUp\n+{\n+    [super setUp];\n+    self.view = [ANBaseTableViewHeaderFooterView new];\n+}\n+\n+- (void)tearDown\n+{\n+    self.view = nil;\n+    [super tearDown];\n+}\n+\n+\n+#pragma mark - Tests\n+\n+- (void)test_updateWithModel_positive_textLabelTextEqualModel\n+{\n+    // given\n+    NSString* model = @\"model\";\n+    // when\n+    [self.view updateWithModel:model];\n+    // then\n+    expect(self.view.textLabel.text).to.equal(model);\n+}\n+\n+- (void)test_updateWithNullModel_positive_textLabelTextNotEqualModel\n+{\n+    // given\n+    NSNull* model = [NSNull null];\n+    // when\n+    [self.view updateWithModel:model];\n+    // then\n+    expect(self.view.textLabel.text).toNot.equal(model);","path":"Example/Alister-Example-Tests/Alister/ANPrototypingUIKit/ANBaseTableViewHeaderFooterViewTests.m","position":53,"original_position":53,"commit_id":"4113c0a950e76d963eedf1417c2e6ba716d153a8","original_commit_id":"4113c0a950e76d963eedf1417c2e6ba716d153a8","user":{"login":"oks","id":1301078,"avatar_url":"https://avatars.githubusercontent.com/u/1301078?v=3","gravatar_id":"","url":"https://api.github.com/users/oks","html_url":"https://github.com/oks","followers_url":"https://api.github.com/users/oks/followers","following_url":"https://api.github.com/users/oks/following{/other_user}","gists_url":"https://api.github.com/users/oks/gists{/gist_id}","starred_url":"https://api.github.com/users/oks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oks/subscriptions","organizations_url":"https://api.github.com/users/oks/orgs","repos_url":"https://api.github.com/users/oks/repos","events_url":"https://api.github.com/users/oks/events{/privacy}","received_events_url":"https://api.github.com/users/oks/received_events","type":"User","site_admin":false},"body":"equal to default value in this situation","created_at":"2016-08-22T18:08:34Z","updated_at":"2016-08-22T18:08:34Z","html_url":"https://github.com/anodamobi/Alister/pull/5#discussion_r75728059","pull_request_url":"https://api.github.com/repos/anodamobi/Alister/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/comments/75728059"},"html":{"href":"https://github.com/anodamobi/Alister/pull/5#discussion_r75728059"},"pull_request":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/anodamobi/Alister/pulls/5","id":82209106,"html_url":"https://github.com/anodamobi/Alister/pull/5","diff_url":"https://github.com/anodamobi/Alister/pull/5.diff","patch_url":"https://github.com/anodamobi/Alister/pull/5.patch","issue_url":"https://api.github.com/repos/anodamobi/Alister/issues/5","number":5,"state":"open","locked":false,"title":"Prototyping tests was added","user":{"login":"devMEremenko","id":12719029,"avatar_url":"https://avatars.githubusercontent.com/u/12719029?v=3","gravatar_id":"","url":"https://api.github.com/users/devMEremenko","html_url":"https://github.com/devMEremenko","followers_url":"https://api.github.com/users/devMEremenko/followers","following_url":"https://api.github.com/users/devMEremenko/following{/other_user}","gists_url":"https://api.github.com/users/devMEremenko/gists{/gist_id}","starred_url":"https://api.github.com/users/devMEremenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devMEremenko/subscriptions","organizations_url":"https://api.github.com/users/devMEremenko/orgs","repos_url":"https://api.github.com/users/devMEremenko/repos","events_url":"https://api.github.com/users/devMEremenko/events{/privacy}","received_events_url":"https://api.github.com/users/devMEremenko/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-22T15:13:17Z","updated_at":"2016-08-22T18:08:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd04ee0d1fded242aa1316253387e2f6343b7e53","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/anodamobi/Alister/pulls/5/commits","review_comments_url":"https://api.github.com/repos/anodamobi/Alister/pulls/5/comments","review_comment_url":"https://api.github.com/repos/anodamobi/Alister/pulls/comments{/number}","comments_url":"https://api.github.com/repos/anodamobi/Alister/issues/5/comments","statuses_url":"https://api.github.com/repos/anodamobi/Alister/statuses/4113c0a950e76d963eedf1417c2e6ba716d153a8","head":{"label":"anodamobi:alister-tests","ref":"alister-tests","sha":"4113c0a950e76d963eedf1417c2e6ba716d153a8","user":{"login":"anodamobi","id":7896354,"avatar_url":"https://avatars.githubusercontent.com/u/7896354?v=3","gravatar_id":"","url":"https://api.github.com/users/anodamobi","html_url":"https://github.com/anodamobi","followers_url":"https://api.github.com/users/anodamobi/followers","following_url":"https://api.github.com/users/anodamobi/following{/other_user}","gists_url":"https://api.github.com/users/anodamobi/gists{/gist_id}","starred_url":"https://api.github.com/users/anodamobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anodamobi/subscriptions","organizations_url":"https://api.github.com/users/anodamobi/orgs","repos_url":"https://api.github.com/users/anodamobi/repos","events_url":"https://api.github.com/users/anodamobi/events{/privacy}","received_events_url":"https://api.github.com/users/anodamobi/received_events","type":"Organization","site_admin":false},"repo":{"id":63081972,"name":"Alister","full_name":"anodamobi/Alister","owner":{"login":"anodamobi","id":7896354,"avatar_url":"https://avatars.githubusercontent.com/u/7896354?v=3","gravatar_id":"","url":"https://api.github.com/users/anodamobi","html_url":"https://github.com/anodamobi","followers_url":"https://api.github.com/users/anodamobi/followers","following_url":"https://api.github.com/users/anodamobi/following{/other_user}","gists_url":"https://api.github.com/users/anodamobi/gists{/gist_id}","starred_url":"https://api.github.com/users/anodamobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anodamobi/subscriptions","organizations_url":"https://api.github.com/users/anodamobi/orgs","repos_url":"https://api.github.com/users/anodamobi/repos","events_url":"https://api.github.com/users/anodamobi/events{/privacy}","received_events_url":"https://api.github.com/users/anodamobi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anodamobi/Alister","description":null,"fork":false,"url":"https://api.github.com/repos/anodamobi/Alister","forks_url":"https://api.github.com/repos/anodamobi/Alister/forks","keys_url":"https://api.github.com/repos/anodamobi/Alister/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anodamobi/Alister/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anodamobi/Alister/teams","hooks_url":"https://api.github.com/repos/anodamobi/Alister/hooks","issue_events_url":"https://api.github.com/repos/anodamobi/Alister/issues/events{/number}","events_url":"https://api.github.com/repos/anodamobi/Alister/events","assignees_url":"https://api.github.com/repos/anodamobi/Alister/assignees{/user}","branches_url":"https://api.github.com/repos/anodamobi/Alister/branches{/branch}","tags_url":"https://api.github.com/repos/anodamobi/Alister/tags","blobs_url":"https://api.github.com/repos/anodamobi/Alister/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anodamobi/Alister/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anodamobi/Alister/git/refs{/sha}","trees_url":"https://api.github.com/repos/anodamobi/Alister/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anodamobi/Alister/statuses/{sha}","languages_url":"https://api.github.com/repos/anodamobi/Alister/languages","stargazers_url":"https://api.github.com/repos/anodamobi/Alister/stargazers","contributors_url":"https://api.github.com/repos/anodamobi/Alister/contributors","subscribers_url":"https://api.github.com/repos/anodamobi/Alister/subscribers","subscription_url":"https://api.github.com/repos/anodamobi/Alister/subscription","commits_url":"https://api.github.com/repos/anodamobi/Alister/commits{/sha}","git_commits_url":"https://api.github.com/repos/anodamobi/Alister/git/commits{/sha}","comments_url":"https://api.github.com/repos/anodamobi/Alister/comments{/number}","issue_comment_url":"https://api.github.com/repos/anodamobi/Alister/issues/comments{/number}","contents_url":"https://api.github.com/repos/anodamobi/Alister/contents/{+path}","compare_url":"https://api.github.com/repos/anodamobi/Alister/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anodamobi/Alister/merges","archive_url":"https://api.github.com/repos/anodamobi/Alister/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anodamobi/Alister/downloads","issues_url":"https://api.github.com/repos/anodamobi/Alister/issues{/number}","pulls_url":"https://api.github.com/repos/anodamobi/Alister/pulls{/number}","milestones_url":"https://api.github.com/repos/anodamobi/Alister/milestones{/number}","notifications_url":"https://api.github.com/repos/anodamobi/Alister/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anodamobi/Alister/labels{/name}","releases_url":"https://api.github.com/repos/anodamobi/Alister/releases{/id}","deployments_url":"https://api.github.com/repos/anodamobi/Alister/deployments","created_at":"2016-07-11T15:59:06Z","updated_at":"2016-08-03T09:43:28Z","pushed_at":"2016-08-22T16:14:33Z","git_url":"git://github.com/anodamobi/Alister.git","ssh_url":"git@github.com:anodamobi/Alister.git","clone_url":"https://github.com/anodamobi/Alister.git","svn_url":"https://github.com/anodamobi/Alister","homepage":null,"size":355,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"anodamobi:master","ref":"master","sha":"a05a6d9990b5805afb4d8df768a90cc8ff8f00c7","user":{"login":"anodamobi","id":7896354,"avatar_url":"https://avatars.githubusercontent.com/u/7896354?v=3","gravatar_id":"","url":"https://api.github.com/users/anodamobi","html_url":"https://github.com/anodamobi","followers_url":"https://api.github.com/users/anodamobi/followers","following_url":"https://api.github.com/users/anodamobi/following{/other_user}","gists_url":"https://api.github.com/users/anodamobi/gists{/gist_id}","starred_url":"https://api.github.com/users/anodamobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anodamobi/subscriptions","organizations_url":"https://api.github.com/users/anodamobi/orgs","repos_url":"https://api.github.com/users/anodamobi/repos","events_url":"https://api.github.com/users/anodamobi/events{/privacy}","received_events_url":"https://api.github.com/users/anodamobi/received_events","type":"Organization","site_admin":false},"repo":{"id":63081972,"name":"Alister","full_name":"anodamobi/Alister","owner":{"login":"anodamobi","id":7896354,"avatar_url":"https://avatars.githubusercontent.com/u/7896354?v=3","gravatar_id":"","url":"https://api.github.com/users/anodamobi","html_url":"https://github.com/anodamobi","followers_url":"https://api.github.com/users/anodamobi/followers","following_url":"https://api.github.com/users/anodamobi/following{/other_user}","gists_url":"https://api.github.com/users/anodamobi/gists{/gist_id}","starred_url":"https://api.github.com/users/anodamobi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anodamobi/subscriptions","organizations_url":"https://api.github.com/users/anodamobi/orgs","repos_url":"https://api.github.com/users/anodamobi/repos","events_url":"https://api.github.com/users/anodamobi/events{/privacy}","received_events_url":"https://api.github.com/users/anodamobi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/anodamobi/Alister","description":null,"fork":false,"url":"https://api.github.com/repos/anodamobi/Alister","forks_url":"https://api.github.com/repos/anodamobi/Alister/forks","keys_url":"https://api.github.com/repos/anodamobi/Alister/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anodamobi/Alister/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anodamobi/Alister/teams","hooks_url":"https://api.github.com/repos/anodamobi/Alister/hooks","issue_events_url":"https://api.github.com/repos/anodamobi/Alister/issues/events{/number}","events_url":"https://api.github.com/repos/anodamobi/Alister/events","assignees_url":"https://api.github.com/repos/anodamobi/Alister/assignees{/user}","branches_url":"https://api.github.com/repos/anodamobi/Alister/branches{/branch}","tags_url":"https://api.github.com/repos/anodamobi/Alister/tags","blobs_url":"https://api.github.com/repos/anodamobi/Alister/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anodamobi/Alister/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anodamobi/Alister/git/refs{/sha}","trees_url":"https://api.github.com/repos/anodamobi/Alister/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anodamobi/Alister/statuses/{sha}","languages_url":"https://api.github.com/repos/anodamobi/Alister/languages","stargazers_url":"https://api.github.com/repos/anodamobi/Alister/stargazers","contributors_url":"https://api.github.com/repos/anodamobi/Alister/contributors","subscribers_url":"https://api.github.com/repos/anodamobi/Alister/subscribers","subscription_url":"https://api.github.com/repos/anodamobi/Alister/subscription","commits_url":"https://api.github.com/repos/anodamobi/Alister/commits{/sha}","git_commits_url":"https://api.github.com/repos/anodamobi/Alister/git/commits{/sha}","comments_url":"https://api.github.com/repos/anodamobi/Alister/comments{/number}","issue_comment_url":"https://api.github.com/repos/anodamobi/Alister/issues/comments{/number}","contents_url":"https://api.github.com/repos/anodamobi/Alister/contents/{+path}","compare_url":"https://api.github.com/repos/anodamobi/Alister/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anodamobi/Alister/merges","archive_url":"https://api.github.com/repos/anodamobi/Alister/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anodamobi/Alister/downloads","issues_url":"https://api.github.com/repos/anodamobi/Alister/issues{/number}","pulls_url":"https://api.github.com/repos/anodamobi/Alister/pulls{/number}","milestones_url":"https://api.github.com/repos/anodamobi/Alister/milestones{/number}","notifications_url":"https://api.github.com/repos/anodamobi/Alister/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anodamobi/Alister/labels{/name}","releases_url":"https://api.github.com/repos/anodamobi/Alister/releases{/id}","deployments_url":"https://api.github.com/repos/anodamobi/Alister/deployments","created_at":"2016-07-11T15:59:06Z","updated_at":"2016-08-03T09:43:28Z","pushed_at":"2016-08-22T16:14:33Z","git_url":"git://github.com/anodamobi/Alister.git","ssh_url":"git@github.com:anodamobi/Alister.git","clone_url":"https://github.com/anodamobi/Alister.git","svn_url":"https://github.com/anodamobi/Alister","homepage":null,"size":355,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/5"},"html":{"href":"https://github.com/anodamobi/Alister/pull/5"},"issue":{"href":"https://api.github.com/repos/anodamobi/Alister/issues/5"},"comments":{"href":"https://api.github.com/repos/anodamobi/Alister/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/anodamobi/Alister/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/anodamobi/Alister/statuses/4113c0a950e76d963eedf1417c2e6ba716d153a8"}}}}
{"actor":{"display_login":"oks"}}