test_class.declarator: janbanery
test_class.original_string: Janbanery janbanery;
test_class.type: Janbanery
test_class.var_name: janbanery
test_class.file: janbanery-core/src/test/java/pl/project13/janbanery/core/dao/IssuesImplTest.java
test_class.identifier: IssuesImplTest
test_case.body: @Test
    public void testById() throws Exception {
      // given
      Task task = TestEntityHelper.createTestTaskFlow(janbanery).get();
      IssuesFlow issuesFlow = janbanery.issues().of(task);
      Issue issue = issuesFlow.create(TestEntityHelper.createTestIssue()).get();
  
      // when
      Long createdTasksId = issue.getId();
      Issue fetchedIssue = janbanery.issues().of(task).byId(createdTasksId).get();
  
      // then
      assertThat(fetchedIssue.getId()).isEqualTo(issue.getId());
      assertThat(fetchedIssue).isEqualTo(issue);
    }
test_case.class_method_signature: IssuesImplTest.testById()
test_case.full_signature: @Test public void testById()
test_case.identifier: testById
test_case.invocations: get createTestTaskFlow of issues get create createTestIssue getId get byId of issues isEqualTo assertThat getId getId isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testById()
focal_class.declarator: conf
focal_class.modifier: private
focal_class.original_string: private Configuration conf;
focal_class.type: Configuration
focal_class.var_name: conf
focal_class.declarator: restClient
focal_class.modifier: private
focal_class.original_string: private RestClient restClient;
focal_class.type: RestClient
focal_class.var_name: restClient
focal_class.declarator: currentWorkspace
focal_class.modifier: private
focal_class.original_string: private Workspace currentWorkspace;
focal_class.type: Workspace
focal_class.var_name: currentWorkspace
focal_class.file: janbanery-core/src/main/java/pl/project13/janbanery/core/dao/IssuesImpl.java
focal_class.identifier: IssuesImpl
focal_class.interfaces: implements Issues
focal_class.class_method_signature: IssuesImpl.IssuesImpl(Configuration conf, RestClient restClient)
focal_class.full_signature: public  IssuesImpl(Configuration conf, RestClient restClient)
focal_class.identifier: IssuesImpl
focal_class.modifiers: public
focal_class.parameters: (Configuration conf, RestClient restClient)
focal_class.signature:  IssuesImpl(Configuration conf, RestClient restClient)
focal_class.class_method_signature: IssuesImpl.create(Task task, Issue issue)
focal_class.full_signature: @Override public IssueFlow create(Task task, Issue issue)
focal_class.identifier: create
focal_class.modifiers: @Override public
focal_class.parameters: (Task task, Issue issue)
focal_class.return: IssueFlow
focal_class.signature: IssueFlow create(Task task, Issue issue)
focal_class.class_method_signature: IssuesImpl.update(Issue issue, Issue newValues)
focal_class.full_signature: @Override public IssueFlow update(Issue issue, Issue newValues)
focal_class.identifier: update
focal_class.modifiers: @Override public
focal_class.parameters: (Issue issue, Issue newValues)
focal_class.return: IssueFlow
focal_class.signature: IssueFlow update(Issue issue, Issue newValues)
focal_class.class_method_signature: IssuesImpl.delete(Issue issue)
focal_class.full_signature: @Override public void delete(Issue issue)
focal_class.identifier: delete
focal_class.modifiers: @Override public
focal_class.parameters: (Issue issue)
focal_class.return: void
focal_class.signature: void delete(Issue issue)
focal_class.class_method_signature: IssuesImpl.all(Task task)
focal_class.full_signature: @Override public List<Issue> all(Task task)
focal_class.identifier: all
focal_class.modifiers: @Override public
focal_class.parameters: (Task task)
focal_class.return: List<Issue>
focal_class.signature: List<Issue> all(Task task)
focal_class.class_method_signature: IssuesImpl.byId(Long id)
focal_class.full_signature: @Override public IssueFlow byId(Long id)
focal_class.identifier: byId
focal_class.modifiers: @Override public
focal_class.parameters: (Long id)
focal_class.return: IssueFlow
focal_class.signature: IssueFlow byId(Long id)
focal_class.class_method_signature: IssuesImpl.getIssueUrl(Issue issue)
focal_class.full_signature: private String getIssueUrl(Issue issue)
focal_class.identifier: getIssueUrl
focal_class.modifiers: private
focal_class.parameters: (Issue issue)
focal_class.return: String
focal_class.signature: String getIssueUrl(Issue issue)
focal_class.class_method_signature: IssuesImpl.getIssueUrl(Long issueId)
focal_class.full_signature: private String getIssueUrl(Long issueId)
focal_class.identifier: getIssueUrl
focal_class.modifiers: private
focal_class.parameters: (Long issueId)
focal_class.return: String
focal_class.signature: String getIssueUrl(Long issueId)
focal_class.class_method_signature: IssuesImpl.getIssuesUrl(Task task)
focal_class.full_signature: private String getIssuesUrl(Task task)
focal_class.identifier: getIssuesUrl
focal_class.modifiers: private
focal_class.parameters: (Task task)
focal_class.return: String
focal_class.signature: String getIssuesUrl(Task task)
focal_class.class_method_signature: IssuesImpl.using(Workspace currentWorkspace)
focal_class.full_signature: public Issues using(Workspace currentWorkspace)
focal_class.identifier: using
focal_class.modifiers: public
focal_class.parameters: (Workspace currentWorkspace)
focal_class.return: Issues
focal_class.signature: Issues using(Workspace currentWorkspace)
focal_class.class_method_signature: IssuesImpl.of(Task task)
focal_class.full_signature: @Override public IssuesFlow of(Task task)
focal_class.identifier: of
focal_class.modifiers: @Override public
focal_class.parameters: (Task task)
focal_class.return: IssuesFlow
focal_class.signature: IssuesFlow of(Task task)
focal_method.body: @Override
    public IssueFlow byId(Long id) {
      String url = getIssueUrl(id);
  
      Issue issue = restClient.doGet(url, GsonTypeTokens.ISSUE);
  
      return new IssueFlowImpl(this, issue);
    }
focal_method.class_method_signature: IssuesImpl.byId(Long id)
focal_method.full_signature: @Override public IssueFlow byId(Long id)
focal_method.identifier: byId
focal_method.invocations: getIssueUrl doGet
focal_method.modifiers: @Override public
focal_method.parameters: (Long id)
focal_method.return: IssueFlow
focal_method.signature: IssueFlow byId(Long id)