{"action":"closed","issue":{"url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1281","repository_url":"https://api.github.com/repos/HubTurbo/HubTurbo","labels_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1281/labels{/name}","comments_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1281/comments","events_url":"https://api.github.com/repos/HubTurbo/HubTurbo/issues/1281/events","html_url":"https://github.com/HubTurbo/HubTurbo/issues/1281","id":135704638,"number":1281,"title":"Correct the swapped parameters for assertEquals","user":{"login":"bsmmoon","id":9209227,"avatar_url":"https://avatars.githubusercontent.com/u/9209227?v=3","gravatar_id":"","url":"https://api.github.com/users/bsmmoon","html_url":"https://github.com/bsmmoon","followers_url":"https://api.github.com/users/bsmmoon/followers","following_url":"https://api.github.com/users/bsmmoon/following{/other_user}","gists_url":"https://api.github.com/users/bsmmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/bsmmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsmmoon/subscriptions","organizations_url":"https://api.github.com/users/bsmmoon/orgs","repos_url":"https://api.github.com/users/bsmmoon/repos","events_url":"https://api.github.com/users/bsmmoon/events{/privacy}","received_events_url":"https://api.github.com/users/bsmmoon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HubTurbo/HubTurbo/labels/aspect-testing","name":"aspect-testing","color":"FFE6CC"},{"url":"https://api.github.com/repos/HubTurbo/HubTurbo/labels/priority.low","name":"priority.low","color":"FFB3B3"}],"state":"closed","locked":false,"assignee":{"login":"garbanzos","id":12397473,"avatar_url":"https://avatars.githubusercontent.com/u/12397473?v=3","gravatar_id":"","url":"https://api.github.com/users/garbanzos","html_url":"https://github.com/garbanzos","followers_url":"https://api.github.com/users/garbanzos/followers","following_url":"https://api.github.com/users/garbanzos/following{/other_user}","gists_url":"https://api.github.com/users/garbanzos/gists{/gist_id}","starred_url":"https://api.github.com/users/garbanzos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garbanzos/subscriptions","organizations_url":"https://api.github.com/users/garbanzos/orgs","repos_url":"https://api.github.com/users/garbanzos/repos","events_url":"https://api.github.com/users/garbanzos/events{/privacy}","received_events_url":"https://api.github.com/users/garbanzos/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-02-23T10:59:15Z","updated_at":"2016-03-16T12:11:08Z","closed_at":"2016-03-16T12:11:08Z","body":"Many `assertEquals(expected, actual)` have its parameters swapped.\r\n\r\nex. At BoardAutoCreatorTest.java,\r\n\r\n> assertEquals(panelControl.getPanelCount(), 5);\r\n> assertEquals(panelControl.getCurrentlySelectedPanel(), Optional.of(0));\r\n> assertEquals(panelControl.getNumberOfSavedBoards(), 1);\r\n\r\nshould instead be\r\n\r\n> assertEquals(5, panelControl.getPanelCount());\r\n> assertEquals(Optional.of(0), panelControl.getCurrentlySelectedPanel());\r\n> assertEquals(1, panelControl.getNumberOfSavedBoards());"}}