{"action":"created","comment":{"url":"https://api.github.com/repos/JetBrains/spek/pulls/comments/104081437","pull_request_review_id":24897004,"id":104081437,"diff_hunk":"@@ -0,0 +1,33 @@\n+package org.jetbrains.spek.engine\n+\n+import org.jetbrains.spek.api.lifecycle.LifecycleListener\n+import org.jetbrains.spek.engine.lifecycle.LifecycleManager\n+import org.junit.jupiter.api.Assertions\n+import org.junit.jupiter.api.BeforeEach\n+import org.junit.jupiter.api.Test\n+import kotlin.properties.Delegates\n+\n+/**\n+ * @author Ranie Jade Ramiso\n+ */\n+class LifecycleManagerTest {\n+    var lifecycleManager by Delegates.notNull<LifecycleManager>()\n+\n+    @BeforeEach\n+    fun setup() {\n+        lifecycleManager = LifecycleManager()\n+    }\n+\n+    @Test\n+    fun sameListenerRegistration() {\n+        val listener = object: LifecycleListener { }\n+        lifecycleManager.addListener(listener)\n+\n+        try {\n+            lifecycleManager.addListener(listener)\n+            Assertions.fail(\"it should throw IllegalArgumentException\")\n+        } catch (e: IllegalArgumentException) {\n+            // pass","path":"spek-junit-platform-engine/src/test/kotlin/org/jetbrains/spek/engine/LifecycleManagerTest.kt","position":30,"original_position":30,"commit_id":"629d4db3e3d9ae19ee053b9b897bc308097e8a95","original_commit_id":"629d4db3e3d9ae19ee053b9b897bc308097e8a95","user":{"login":"raniejade","id":1041919,"avatar_url":"https://avatars1.githubusercontent.com/u/1041919?v=3","gravatar_id":"","url":"https://api.github.com/users/raniejade","html_url":"https://github.com/raniejade","followers_url":"https://api.github.com/users/raniejade/followers","following_url":"https://api.github.com/users/raniejade/following{/other_user}","gists_url":"https://api.github.com/users/raniejade/gists{/gist_id}","starred_url":"https://api.github.com/users/raniejade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raniejade/subscriptions","organizations_url":"https://api.github.com/users/raniejade/orgs","repos_url":"https://api.github.com/users/raniejade/repos","events_url":"https://api.github.com/users/raniejade/events{/privacy}","received_events_url":"https://api.github.com/users/raniejade/received_events","type":"User","site_admin":false},"body":"I'll merge it tomorrow 👍 ","created_at":"2017-03-03T03:08:57Z","updated_at":"2017-03-03T03:08:57Z","html_url":"https://github.com/JetBrains/spek/pull/183#discussion_r104081437","pull_request_url":"https://api.github.com/repos/JetBrains/spek/pulls/183","_links":{"self":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/comments/104081437"},"html":{"href":"https://github.com/JetBrains/spek/pull/183#discussion_r104081437"},"pull_request":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/183"}}},"pull_request":{"url":"https://api.github.com/repos/JetBrains/spek/pulls/183","id":106885701,"html_url":"https://github.com/JetBrains/spek/pull/183","diff_url":"https://github.com/JetBrains/spek/pull/183.diff","patch_url":"https://github.com/JetBrains/spek/pull/183.patch","issue_url":"https://api.github.com/repos/JetBrains/spek/issues/183","number":183,"state":"open","locked":false,"title":"Ensure fixtures are always executed last","user":{"login":"raniejade","id":1041919,"avatar_url":"https://avatars1.githubusercontent.com/u/1041919?v=3","gravatar_id":"","url":"https://api.github.com/users/raniejade","html_url":"https://github.com/raniejade","followers_url":"https://api.github.com/users/raniejade/followers","following_url":"https://api.github.com/users/raniejade/following{/other_user}","gists_url":"https://api.github.com/users/raniejade/gists{/gist_id}","starred_url":"https://api.github.com/users/raniejade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raniejade/subscriptions","organizations_url":"https://api.github.com/users/raniejade/orgs","repos_url":"https://api.github.com/users/raniejade/repos","events_url":"https://api.github.com/users/raniejade/events{/privacy}","received_events_url":"https://api.github.com/users/raniejade/received_events","type":"User","site_admin":false},"body":"Resolves #178.","created_at":"2017-02-19T02:24:21Z","updated_at":"2017-03-03T03:08:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"001578890291e5ef12fc2fb94cc7e8570f0c4a6a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JetBrains/spek/pulls/183/commits","review_comments_url":"https://api.github.com/repos/JetBrains/spek/pulls/183/comments","review_comment_url":"https://api.github.com/repos/JetBrains/spek/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JetBrains/spek/issues/183/comments","statuses_url":"https://api.github.com/repos/JetBrains/spek/statuses/629d4db3e3d9ae19ee053b9b897bc308097e8a95","head":{"label":"JetBrains:ensure-fixture-order","ref":"ensure-fixture-order","sha":"629d4db3e3d9ae19ee053b9b897bc308097e8a95","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars1.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":6551658,"name":"spek","full_name":"JetBrains/spek","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars1.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/spek","description":"A specification framework for Kotlin","fork":false,"url":"https://api.github.com/repos/JetBrains/spek","forks_url":"https://api.github.com/repos/JetBrains/spek/forks","keys_url":"https://api.github.com/repos/JetBrains/spek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/spek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/spek/teams","hooks_url":"https://api.github.com/repos/JetBrains/spek/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/spek/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/spek/events","assignees_url":"https://api.github.com/repos/JetBrains/spek/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/spek/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/spek/tags","blobs_url":"https://api.github.com/repos/JetBrains/spek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/spek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/spek/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/spek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/spek/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/spek/languages","stargazers_url":"https://api.github.com/repos/JetBrains/spek/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/spek/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/spek/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/spek/subscription","commits_url":"https://api.github.com/repos/JetBrains/spek/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/spek/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/spek/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/spek/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/spek/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/spek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/spek/merges","archive_url":"https://api.github.com/repos/JetBrains/spek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/spek/downloads","issues_url":"https://api.github.com/repos/JetBrains/spek/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/spek/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/spek/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/spek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/spek/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/spek/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/spek/deployments","created_at":"2012-11-05T20:59:59Z","updated_at":"2017-03-02T13:39:05Z","pushed_at":"2017-02-27T01:01:24Z","git_url":"git://github.com/JetBrains/spek.git","ssh_url":"git@github.com:JetBrains/spek.git","clone_url":"https://github.com/JetBrains/spek.git","svn_url":"https://github.com/JetBrains/spek","homepage":null,"size":14605,"stargazers_count":542,"watchers_count":542,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":36,"forks":71,"open_issues":36,"watchers":542,"default_branch":"master"}},"base":{"label":"JetBrains:master","ref":"master","sha":"f0935817fa00f988ce544cbbd900275426dc6855","user":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars1.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"repo":{"id":6551658,"name":"spek","full_name":"JetBrains/spek","owner":{"login":"JetBrains","id":878437,"avatar_url":"https://avatars1.githubusercontent.com/u/878437?v=3","gravatar_id":"","url":"https://api.github.com/users/JetBrains","html_url":"https://github.com/JetBrains","followers_url":"https://api.github.com/users/JetBrains/followers","following_url":"https://api.github.com/users/JetBrains/following{/other_user}","gists_url":"https://api.github.com/users/JetBrains/gists{/gist_id}","starred_url":"https://api.github.com/users/JetBrains/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JetBrains/subscriptions","organizations_url":"https://api.github.com/users/JetBrains/orgs","repos_url":"https://api.github.com/users/JetBrains/repos","events_url":"https://api.github.com/users/JetBrains/events{/privacy}","received_events_url":"https://api.github.com/users/JetBrains/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JetBrains/spek","description":"A specification framework for Kotlin","fork":false,"url":"https://api.github.com/repos/JetBrains/spek","forks_url":"https://api.github.com/repos/JetBrains/spek/forks","keys_url":"https://api.github.com/repos/JetBrains/spek/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JetBrains/spek/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JetBrains/spek/teams","hooks_url":"https://api.github.com/repos/JetBrains/spek/hooks","issue_events_url":"https://api.github.com/repos/JetBrains/spek/issues/events{/number}","events_url":"https://api.github.com/repos/JetBrains/spek/events","assignees_url":"https://api.github.com/repos/JetBrains/spek/assignees{/user}","branches_url":"https://api.github.com/repos/JetBrains/spek/branches{/branch}","tags_url":"https://api.github.com/repos/JetBrains/spek/tags","blobs_url":"https://api.github.com/repos/JetBrains/spek/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JetBrains/spek/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JetBrains/spek/git/refs{/sha}","trees_url":"https://api.github.com/repos/JetBrains/spek/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JetBrains/spek/statuses/{sha}","languages_url":"https://api.github.com/repos/JetBrains/spek/languages","stargazers_url":"https://api.github.com/repos/JetBrains/spek/stargazers","contributors_url":"https://api.github.com/repos/JetBrains/spek/contributors","subscribers_url":"https://api.github.com/repos/JetBrains/spek/subscribers","subscription_url":"https://api.github.com/repos/JetBrains/spek/subscription","commits_url":"https://api.github.com/repos/JetBrains/spek/commits{/sha}","git_commits_url":"https://api.github.com/repos/JetBrains/spek/git/commits{/sha}","comments_url":"https://api.github.com/repos/JetBrains/spek/comments{/number}","issue_comment_url":"https://api.github.com/repos/JetBrains/spek/issues/comments{/number}","contents_url":"https://api.github.com/repos/JetBrains/spek/contents/{+path}","compare_url":"https://api.github.com/repos/JetBrains/spek/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JetBrains/spek/merges","archive_url":"https://api.github.com/repos/JetBrains/spek/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JetBrains/spek/downloads","issues_url":"https://api.github.com/repos/JetBrains/spek/issues{/number}","pulls_url":"https://api.github.com/repos/JetBrains/spek/pulls{/number}","milestones_url":"https://api.github.com/repos/JetBrains/spek/milestones{/number}","notifications_url":"https://api.github.com/repos/JetBrains/spek/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JetBrains/spek/labels{/name}","releases_url":"https://api.github.com/repos/JetBrains/spek/releases{/id}","deployments_url":"https://api.github.com/repos/JetBrains/spek/deployments","created_at":"2012-11-05T20:59:59Z","updated_at":"2017-03-02T13:39:05Z","pushed_at":"2017-02-27T01:01:24Z","git_url":"git://github.com/JetBrains/spek.git","ssh_url":"git@github.com:JetBrains/spek.git","clone_url":"https://github.com/JetBrains/spek.git","svn_url":"https://github.com/JetBrains/spek","homepage":null,"size":14605,"stargazers_count":542,"watchers_count":542,"language":"Kotlin","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":71,"mirror_url":null,"open_issues_count":36,"forks":71,"open_issues":36,"watchers":542,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/183"},"html":{"href":"https://github.com/JetBrains/spek/pull/183"},"issue":{"href":"https://api.github.com/repos/JetBrains/spek/issues/183"},"comments":{"href":"https://api.github.com/repos/JetBrains/spek/issues/183/comments"},"review_comments":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/183/comments"},"review_comment":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JetBrains/spek/pulls/183/commits"},"statuses":{"href":"https://api.github.com/repos/JetBrains/spek/statuses/629d4db3e3d9ae19ee053b9b897bc308097e8a95"}}}}
{"actor":{"display_login":"raniejade"}}