{"action":"created","comment":{"url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/comments/193465431","pull_request_review_id":126443486,"id":193465431,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzQ2NTQzMQ==","diff_hunk":"@@ -1,55 +1,58 @@\n-﻿\n-using Microsoft.VisualStudio.TestTools.UnitTesting;\n+﻿using Option.Tests.Unit.Helpers;\n+using Xunit;\n \n namespace Option.Tests.Unit\n-{\n-    [TestClass]\n+{\r\n+    \n     public class OptionExTests\n-    {\n-        [TestMethod]\n-        public void OptionExToNullable()\n+    {\r\n+\r\n+        #region OptionExtensions ToNullable\r\n+        [Fact]\n+        public void OptionExtensions_ToNullableCalledOnOptionContainingObject_ObjectShouldBeRetained()\n         {\n             var counter = Option.Some(new Counter()).ToNullable();\n \n-            Assert.IsTrue(counter.HasValue);\n-            Assert.AreEqual(0, counter.Value.Item);\n-            Assert.AreEqual(0, counter.Value.Count);\n+            Assert.True(counter.HasValue);\n+            Assert.Equal(0, counter.Value.Item);\n+            Assert.Equal(0, counter.Value.Count);\n         }\n \n-        [TestMethod]\n-        public void OptionExToNullableWithItems()\n+        \n+        [Fact]\n+        public void OptionExtensions_ToNullableCalledOnOptionContainingObject_StateOfObjectShouldBeRetained()\n         {\n             var counter = Option.Some(new Counter{Count = 1, Item = 2}).ToNullable();\n \n-            Assert.IsTrue(counter.HasValue);\n-            Assert.AreEqual(2, counter.Value.Item);\n-            Assert.AreEqual(1, counter.Value.Count);\n-        }\n-\n-        [TestMethod]\n-        public void OptionExSelectSome()\n+            Assert.True(counter.HasValue);\n+            Assert.Equal(2, counter.Value.Item);\n+            Assert.Equal(1, counter.Value.Count);\n+        }\r\n+\r\n+        #endregion\n+\r\n+        #region OptionExtensions Select\r\n+\r\n+        [Fact]\n+        public void OptionExtensions_SelectSomeCalledWithLambda_ValueAndResultOfLambdaShouldBeEquals()","path":"tests/Option.Tests.Unit/OptionExTests.cs","position":56,"original_position":56,"commit_id":"cb94c11f044c2a9ae0a0fce31f077b979c0ef364","original_commit_id":"cb94c11f044c2a9ae0a0fce31f077b979c0ef364","user":{"login":"rustem-net","id":30232046,"node_id":"MDQ6VXNlcjMwMjMyMDQ2","avatar_url":"https://avatars3.githubusercontent.com/u/30232046?v=4","gravatar_id":"","url":"https://api.github.com/users/rustem-net","html_url":"https://github.com/rustem-net","followers_url":"https://api.github.com/users/rustem-net/followers","following_url":"https://api.github.com/users/rustem-net/following{/other_user}","gists_url":"https://api.github.com/users/rustem-net/gists{/gist_id}","starred_url":"https://api.github.com/users/rustem-net/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rustem-net/subscriptions","organizations_url":"https://api.github.com/users/rustem-net/orgs","repos_url":"https://api.github.com/users/rustem-net/repos","events_url":"https://api.github.com/users/rustem-net/events{/privacy}","received_events_url":"https://api.github.com/users/rustem-net/received_events","type":"User","site_admin":false},"body":"Not a big deal but function name ends with \"Equals\", \"Equal\" would be more appropriate. ","created_at":"2018-06-06T15:59:09Z","updated_at":"2018-06-06T15:59:58Z","html_url":"https://github.com/PaddyPowerBetfair/Option/pull/12#discussion_r193465431","pull_request_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/comments/193465431"},"html":{"href":"https://github.com/PaddyPowerBetfair/Option/pull/12#discussion_r193465431"},"pull_request":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12","id":189809969,"node_id":"MDExOlB1bGxSZXF1ZXN0MTg5ODA5OTY5","html_url":"https://github.com/PaddyPowerBetfair/Option/pull/12","diff_url":"https://github.com/PaddyPowerBetfair/Option/pull/12.diff","patch_url":"https://github.com/PaddyPowerBetfair/Option/pull/12.patch","issue_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/12","number":12,"state":"open","locked":false,"title":"Introduce xUnit","user":{"login":"sandorbari","id":19401849,"node_id":"MDQ6VXNlcjE5NDAxODQ5","avatar_url":"https://avatars2.githubusercontent.com/u/19401849?v=4","gravatar_id":"","url":"https://api.github.com/users/sandorbari","html_url":"https://github.com/sandorbari","followers_url":"https://api.github.com/users/sandorbari/followers","following_url":"https://api.github.com/users/sandorbari/following{/other_user}","gists_url":"https://api.github.com/users/sandorbari/gists{/gist_id}","starred_url":"https://api.github.com/users/sandorbari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sandorbari/subscriptions","organizations_url":"https://api.github.com/users/sandorbari/orgs","repos_url":"https://api.github.com/users/sandorbari/repos","events_url":"https://api.github.com/users/sandorbari/events{/privacy}","received_events_url":"https://api.github.com/users/sandorbari/received_events","type":"User","site_admin":false},"body":"Removed MSTest and introduced xUnit. Changed the test names to follow Roy Osherove's pattern.","created_at":"2018-05-22T22:28:05Z","updated_at":"2018-06-06T15:59:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1361510c59a2562e937a9e84ee40a094681b3fc4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12/commits","review_comments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12/comments","review_comment_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/12/comments","statuses_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/statuses/cb94c11f044c2a9ae0a0fce31f077b979c0ef364","head":{"label":"PaddyPowerBetfair:Introduce_xUnit","ref":"Introduce_xUnit","sha":"cb94c11f044c2a9ae0a0fce31f077b979c0ef364","user":{"login":"PaddyPowerBetfair","id":19859390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODU5Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/19859390?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddyPowerBetfair","html_url":"https://github.com/PaddyPowerBetfair","followers_url":"https://api.github.com/users/PaddyPowerBetfair/followers","following_url":"https://api.github.com/users/PaddyPowerBetfair/following{/other_user}","gists_url":"https://api.github.com/users/PaddyPowerBetfair/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddyPowerBetfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddyPowerBetfair/subscriptions","organizations_url":"https://api.github.com/users/PaddyPowerBetfair/orgs","repos_url":"https://api.github.com/users/PaddyPowerBetfair/repos","events_url":"https://api.github.com/users/PaddyPowerBetfair/events{/privacy}","received_events_url":"https://api.github.com/users/PaddyPowerBetfair/received_events","type":"Organization","site_admin":false},"repo":{"id":132629925,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2Mjk5MjU=","name":"Option","full_name":"PaddyPowerBetfair/Option","owner":{"login":"PaddyPowerBetfair","id":19859390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODU5Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/19859390?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddyPowerBetfair","html_url":"https://github.com/PaddyPowerBetfair","followers_url":"https://api.github.com/users/PaddyPowerBetfair/followers","following_url":"https://api.github.com/users/PaddyPowerBetfair/following{/other_user}","gists_url":"https://api.github.com/users/PaddyPowerBetfair/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddyPowerBetfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddyPowerBetfair/subscriptions","organizations_url":"https://api.github.com/users/PaddyPowerBetfair/orgs","repos_url":"https://api.github.com/users/PaddyPowerBetfair/repos","events_url":"https://api.github.com/users/PaddyPowerBetfair/events{/privacy}","received_events_url":"https://api.github.com/users/PaddyPowerBetfair/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PaddyPowerBetfair/Option","description":"C# representation of maybe monad ","fork":false,"url":"https://api.github.com/repos/PaddyPowerBetfair/Option","forks_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/forks","keys_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/teams","hooks_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/hooks","issue_events_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/events{/number}","events_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/events","assignees_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/assignees{/user}","branches_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/branches{/branch}","tags_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/tags","blobs_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/statuses/{sha}","languages_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/languages","stargazers_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/stargazers","contributors_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/contributors","subscribers_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/subscribers","subscription_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/subscription","commits_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/contents/{+path}","compare_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/merges","archive_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/downloads","issues_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues{/number}","pulls_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls{/number}","milestones_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/milestones{/number}","notifications_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/labels{/name}","releases_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/releases{/id}","deployments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/deployments","created_at":"2018-05-08T15:36:36Z","updated_at":"2018-05-21T14:09:06Z","pushed_at":"2018-05-22T22:28:06Z","git_url":"git://github.com/PaddyPowerBetfair/Option.git","ssh_url":"git@github.com:PaddyPowerBetfair/Option.git","clone_url":"https://github.com/PaddyPowerBetfair/Option.git","svn_url":"https://github.com/PaddyPowerBetfair/Option","homepage":null,"size":30,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":3,"open_issues":11,"watchers":2,"default_branch":"master"}},"base":{"label":"PaddyPowerBetfair:master","ref":"master","sha":"9b47e1099d06ba1ea29e25da9c05377117294901","user":{"login":"PaddyPowerBetfair","id":19859390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODU5Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/19859390?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddyPowerBetfair","html_url":"https://github.com/PaddyPowerBetfair","followers_url":"https://api.github.com/users/PaddyPowerBetfair/followers","following_url":"https://api.github.com/users/PaddyPowerBetfair/following{/other_user}","gists_url":"https://api.github.com/users/PaddyPowerBetfair/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddyPowerBetfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddyPowerBetfair/subscriptions","organizations_url":"https://api.github.com/users/PaddyPowerBetfair/orgs","repos_url":"https://api.github.com/users/PaddyPowerBetfair/repos","events_url":"https://api.github.com/users/PaddyPowerBetfair/events{/privacy}","received_events_url":"https://api.github.com/users/PaddyPowerBetfair/received_events","type":"Organization","site_admin":false},"repo":{"id":132629925,"node_id":"MDEwOlJlcG9zaXRvcnkxMzI2Mjk5MjU=","name":"Option","full_name":"PaddyPowerBetfair/Option","owner":{"login":"PaddyPowerBetfair","id":19859390,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5ODU5Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/19859390?v=4","gravatar_id":"","url":"https://api.github.com/users/PaddyPowerBetfair","html_url":"https://github.com/PaddyPowerBetfair","followers_url":"https://api.github.com/users/PaddyPowerBetfair/followers","following_url":"https://api.github.com/users/PaddyPowerBetfair/following{/other_user}","gists_url":"https://api.github.com/users/PaddyPowerBetfair/gists{/gist_id}","starred_url":"https://api.github.com/users/PaddyPowerBetfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PaddyPowerBetfair/subscriptions","organizations_url":"https://api.github.com/users/PaddyPowerBetfair/orgs","repos_url":"https://api.github.com/users/PaddyPowerBetfair/repos","events_url":"https://api.github.com/users/PaddyPowerBetfair/events{/privacy}","received_events_url":"https://api.github.com/users/PaddyPowerBetfair/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PaddyPowerBetfair/Option","description":"C# representation of maybe monad ","fork":false,"url":"https://api.github.com/repos/PaddyPowerBetfair/Option","forks_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/forks","keys_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/teams","hooks_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/hooks","issue_events_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/events{/number}","events_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/events","assignees_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/assignees{/user}","branches_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/branches{/branch}","tags_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/tags","blobs_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/refs{/sha}","trees_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/statuses/{sha}","languages_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/languages","stargazers_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/stargazers","contributors_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/contributors","subscribers_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/subscribers","subscription_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/subscription","commits_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/commits{/sha}","git_commits_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/git/commits{/sha}","comments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/comments{/number}","issue_comment_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/comments{/number}","contents_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/contents/{+path}","compare_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/merges","archive_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/downloads","issues_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues{/number}","pulls_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls{/number}","milestones_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/milestones{/number}","notifications_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/labels{/name}","releases_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/releases{/id}","deployments_url":"https://api.github.com/repos/PaddyPowerBetfair/Option/deployments","created_at":"2018-05-08T15:36:36Z","updated_at":"2018-05-21T14:09:06Z","pushed_at":"2018-05-22T22:28:06Z","git_url":"git://github.com/PaddyPowerBetfair/Option.git","ssh_url":"git@github.com:PaddyPowerBetfair/Option.git","clone_url":"https://github.com/PaddyPowerBetfair/Option.git","svn_url":"https://github.com/PaddyPowerBetfair/Option","homepage":null,"size":30,"stargazers_count":2,"watchers_count":2,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":3,"open_issues":11,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12"},"html":{"href":"https://github.com/PaddyPowerBetfair/Option/pull/12"},"issue":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/12"},"comments":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/PaddyPowerBetfair/Option/statuses/cb94c11f044c2a9ae0a0fce31f077b979c0ef364"}},"author_association":"NONE"}}
{"actor":{"display_login":"rustem-net"}}