### Question:
GithubStatusManager { public void setStatus(CommitStatusCreate status) { String url = String.format("/repos/%s/statuses/%s", repoId.generateId(), sha); try { commitService.createStatus(repoId, sha, status.toCommitStatus()); } catch (Exception e) { log.warn("error while set status({}) {}", url, status, e); } } GithubStatusManager(CommitService service, RepositoryId repoId, String sha); void setStatus(CommitStatusCreate status);  }### Answer:
@Test public void setStatus() throws IOException { CommitStatusCreate commitStatus = CommitStatusCreate.builder() .state(CommitState.SUCCESS) .description("0 / 0 (100%) - pass") .context("coverchecker").build(); RepositoryId repoId = new RepositoryId("test", "test"); when(commitService.createStatus(eq(repoId), eq("sha"), any(CommitStatus.class))).thenReturn(new CommitStatus().setDescription("0 / 0 (100%) - pass")); GithubStatusManager statusManager = new GithubStatusManager(commitService, repoId, "sha"); statusManager.setStatus(commitStatus); verify(commitService).createStatus(eq(repoId), eq("sha"), any(CommitStatus.class)); }