final SearchResult searchResult = client.getSearchClient().searchJql("key=TST-2", null, null, "*all").claim();
final Issue issue = Iterables.getOnlyElement(searchResult.getIssues());
assertEquals("TST-2", issue.getKey());
assertEquals("Testing attachem2", issue.getSummary());
assertEquals(new TimeTracking(0, 0, 145), issue.getTimeTracking());
assertThat(issue.getComponents(), NamedEntityMatchers.entitiesWithNames("Component A", "Component B"));
// comments
final Iterable<Comment> comments = issue.getComments();
assertEquals(3, Iterables.size(comments));