test_class.declarator: workspaces
test_class.original_string: Workspaces workspaces;
test_class.type: Workspaces
test_class.var_name: workspaces
test_class.declarator: asyncHttpClient
test_class.original_string: AsyncHttpClient asyncHttpClient;
test_class.type: AsyncHttpClient
test_class.var_name: asyncHttpClient
test_class.file: janbanery-core/src/test/java/pl/project13/janbanery/core/dao/WorkspacesImplTest.java
test_class.identifier: WorkspacesImplTest
test_case.body: @Test
    public void shouldFindAll() throws Exception {
      // when
      List<Workspace> all = workspaces.all();
  
      // then
      assertThat(all).isNotNull();
      assertThat(all).isNotEmpty();
      Workspace firstWorkspace = all.get(0);
      assertThat(firstWorkspace.getId()).isPositive();
      assertThat(firstWorkspace.getName()).isNotEmpty();
    }
test_case.class_method_signature: WorkspacesImplTest.shouldFindAll()
test_case.full_signature: @Test public void shouldFindAll()
test_case.identifier: shouldFindAll
test_case.invocations: all isNotNull assertThat isNotEmpty assertThat get isPositive assertThat getId isNotEmpty assertThat getName
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void shouldFindAll()
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/WorkspacesImpl.java
focal_class.identifier: WorkspacesImpl
focal_class.interfaces: implements Workspaces
focal_class.class_method_signature: WorkspacesImpl.WorkspacesImpl(Configuration conf, RestClient restClient)
focal_class.full_signature: public  WorkspacesImpl(Configuration conf, RestClient restClient)
focal_class.identifier: WorkspacesImpl
focal_class.modifiers: public
focal_class.parameters: (Configuration conf, RestClient restClient)
focal_class.signature:  WorkspacesImpl(Configuration conf, RestClient restClient)
focal_class.class_method_signature: WorkspacesImpl.all()
focal_class.full_signature: @Override public List<Workspace> all()
focal_class.identifier: all
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: List<Workspace>
focal_class.signature: List<Workspace> all()
focal_class.class_method_signature: WorkspacesImpl.byName(String name)
focal_class.full_signature: @Override public Workspace byName(String name)
focal_class.identifier: byName
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Workspace
focal_class.signature: Workspace byName(String name)
focal_class.class_method_signature: WorkspacesImpl.current()
focal_class.full_signature: @Override public Workspace current()
focal_class.identifier: current
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Workspace
focal_class.signature: Workspace current()
focal_class.class_method_signature: WorkspacesImpl.using(Workspace currentWorkspace)
focal_class.full_signature: public Workspaces using(Workspace currentWorkspace)
focal_class.identifier: using
focal_class.modifiers: public
focal_class.parameters: (Workspace currentWorkspace)
focal_class.return: Workspaces
focal_class.signature: Workspaces using(Workspace currentWorkspace)
focal_method.body: @Override
    public List<Workspace> all() {
      String url = conf.getApiUrl() + "user/workspaces.json";
      return restClient.doGet(url, GsonTypeTokens.LIST_WORKSPACE);
    }
focal_method.class_method_signature: WorkspacesImpl.all()
focal_method.full_signature: @Override public List<Workspace> all()
focal_method.identifier: all
focal_method.invocations: getApiUrl doGet
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: List<Workspace>
focal_method.signature: List<Workspace> all()