{"action":"created","issue":{"url":"https://api.github.com/repos/triplea-game/triplea/issues/687","repository_url":"https://api.github.com/repos/triplea-game/triplea","labels_url":"https://api.github.com/repos/triplea-game/triplea/issues/687/labels{/name}","comments_url":"https://api.github.com/repos/triplea-game/triplea/issues/687/comments","events_url":"https://api.github.com/repos/triplea-game/triplea/issues/687/events","html_url":"https://github.com/triplea-game/triplea/issues/687","id":155336058,"number":687,"title":"[PR Progress] Replacing TestObjects with Mock Object","user":{"login":"RoiEXLab","id":8350879,"avatar_url":"https://avatars.githubusercontent.com/u/8350879?v=3","gravatar_id":"","url":"https://api.github.com/users/RoiEXLab","html_url":"https://github.com/RoiEXLab","followers_url":"https://api.github.com/users/RoiEXLab/followers","following_url":"https://api.github.com/users/RoiEXLab/following{/other_user}","gists_url":"https://api.github.com/users/RoiEXLab/gists{/gist_id}","starred_url":"https://api.github.com/users/RoiEXLab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RoiEXLab/subscriptions","organizations_url":"https://api.github.com/users/RoiEXLab/orgs","repos_url":"https://api.github.com/users/RoiEXLab/repos","events_url":"https://api.github.com/users/RoiEXLab/events{/privacy}","received_events_url":"https://api.github.com/users/RoiEXLab/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-17T19:01:19Z","updated_at":"2016-05-17T21:03:01Z","closed_at":null,"body":"This is a far better place for discussing Code Snippets...\r\nhttps://github.com/triplea-game/triplea/compare/master...RoiEXLab:Mock-test-patch-1"},"comment":{"url":"https://api.github.com/repos/triplea-game/triplea/issues/comments/219853087","html_url":"https://github.com/triplea-game/triplea/issues/687#issuecomment-219853087","issue_url":"https://api.github.com/repos/triplea-game/triplea/issues/687","id":219853087,"user":{"login":"DanVanAtta","id":12397753,"avatar_url":"https://avatars.githubusercontent.com/u/12397753?v=3","gravatar_id":"","url":"https://api.github.com/users/DanVanAtta","html_url":"https://github.com/DanVanAtta","followers_url":"https://api.github.com/users/DanVanAtta/followers","following_url":"https://api.github.com/users/DanVanAtta/following{/other_user}","gists_url":"https://api.github.com/users/DanVanAtta/gists{/gist_id}","starred_url":"https://api.github.com/users/DanVanAtta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DanVanAtta/subscriptions","organizations_url":"https://api.github.com/users/DanVanAtta/orgs","repos_url":"https://api.github.com/users/DanVanAtta/repos","events_url":"https://api.github.com/users/DanVanAtta/events{/privacy}","received_events_url":"https://api.github.com/users/DanVanAtta/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T21:03:01Z","updated_at":"2016-05-17T21:03:01Z","body":"You're missing the @RunWith annotation at the top of your class:\r\n```\r\n import junit.framework.TestCase;\r\n \r\n public class AirThatCantLandUtilTest extends TestCase {\r\n```\r\n\r\nShoudl be:\r\n```\r\n import junit.framework.TestCase;\r\n \r\n@RunWith(MockitoJunit4Runner.class)\r\n public class AirThatCantLandUtilTest extends TestCase {\r\n```\r\n\r\nThe RunWith tell Mockito to pick up this class, find and create mocks for any @Mock annotations. Otherwise the @Mock does nothing, and your `bridge` object is just:  `private IDelegateBridge bridge;`, which is the same as `private IDelegateBridge bridge = null`."}}