final GitHubService service = new GitHubService();
final GitHubIssue issue = new GitHubIssue();
issue.setUser(TEST_USER);
issue.setBody("This is a test body");
issue.setTitle("Issue Title");
GitHubIssue newIssue = service.openIssue(TEST_USER, TEST_PROJECT, issue,
new GitHubCredentials(TEST_USER,API_KEY));
assertTrue(newIssue != null);
assertEquals(issue.getUser(),newIssue.getUser());
assertEquals(issue.getBody(),newIssue.getBody());
assertEquals(issue.getTitle(),newIssue.getTitle());