test_class.declarator: apiInterface
test_class.modifier: @Inject
      protected
test_class.original_string: @Inject
      protected ApiInterface apiInterface;
test_class.type: ApiInterface
test_class.var_name: apiInterface
test_class.declarator: model
test_class.modifier: private
test_class.original_string: private Model model;
test_class.type: Model
test_class.var_name: model
test_class.file: app/src/test/java/com/andrey7mel/stepbystep/model/ModelImplTest.java
test_class.identifier: ModelImplTest
test_class.superclass: extends BaseTest
test_case.body: @Test
      public void testGetRepoContributors() {
          ContributorDTO[] contributorDTOs = testUtils.getGson().fromJson(testUtils.readString("json/contributors.json"), ContributorDTO[].class);
  
          when(apiInterface.getContributors(TestConst.TEST_OWNER, TestConst.TEST_REPO)).thenReturn(Observable.just(Arrays.asList(contributorDTOs)));
  
  
          TestSubscriber<List<ContributorDTO>> testSubscriber = new TestSubscriber<>();
          model.getRepoContributors(TestConst.TEST_OWNER, TestConst.TEST_REPO).subscribe(testSubscriber);
  
          testSubscriber.assertNoErrors();
          testSubscriber.assertValueCount(1);
  
          List<ContributorDTO> actual = testSubscriber.getOnNextEvents().get(0);
  
          assertEquals(11, actual.size());
          assertEquals("hotchemi", actual.get(0).getLogin());
          assertEquals("User", actual.get(0).getType());
          assertEquals(471318, actual.get(0).getId());
  
      }
test_case.class_method_signature: ModelImplTest.testGetRepoContributors()
test_case.full_signature: @Test public void testGetRepoContributors()
test_case.identifier: testGetRepoContributors
test_case.invocations: fromJson getGson readString thenReturn when getContributors just asList subscribe getRepoContributors assertNoErrors assertValueCount get getOnNextEvents assertEquals size assertEquals getLogin get assertEquals getType get assertEquals getId get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetRepoContributors()
focal_class.declarator: schedulersTransformer
focal_class.modifier: private final
focal_class.original_string: private final Observable.Transformer schedulersTransformer;
focal_class.type: Observable.Transformer
focal_class.var_name: schedulersTransformer
focal_class.declarator: apiInterface
focal_class.modifier: @Inject
      protected
focal_class.original_string: @Inject
      protected ApiInterface apiInterface;
focal_class.type: ApiInterface
focal_class.var_name: apiInterface
focal_class.declarator: uiThread
focal_class.modifier: @Inject
      @Named(Const.UI_THREAD)
focal_class.original_string: @Inject
      @Named(Const.UI_THREAD)
      Scheduler uiThread;
focal_class.type: Scheduler
focal_class.var_name: uiThread
focal_class.declarator: ioThread
focal_class.modifier: @Inject
      @Named(Const.IO_THREAD)
focal_class.original_string: @Inject
      @Named(Const.IO_THREAD)
      Scheduler ioThread;
focal_class.type: Scheduler
focal_class.var_name: ioThread
focal_class.file: app/src/main/java/com/andrey7mel/stepbystep/model/ModelImpl.java
focal_class.identifier: ModelImpl
focal_class.interfaces: implements Model
focal_class.class_method_signature: ModelImpl.ModelImpl()
focal_class.full_signature: public  ModelImpl()
focal_class.identifier: ModelImpl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  ModelImpl()
focal_class.class_method_signature: ModelImpl.getRepoList(String name)
focal_class.full_signature: @Override public Observable<List<RepositoryDTO>> getRepoList(String name)
focal_class.identifier: getRepoList
focal_class.modifiers: @Override public
focal_class.parameters: (String name)
focal_class.return: Observable<List<RepositoryDTO>>
focal_class.signature: Observable<List<RepositoryDTO>> getRepoList(String name)
focal_class.class_method_signature: ModelImpl.getRepoBranches(String owner, String name)
focal_class.full_signature: @Override public Observable<List<BranchDTO>> getRepoBranches(String owner, String name)
focal_class.identifier: getRepoBranches
focal_class.modifiers: @Override public
focal_class.parameters: (String owner, String name)
focal_class.return: Observable<List<BranchDTO>>
focal_class.signature: Observable<List<BranchDTO>> getRepoBranches(String owner, String name)
focal_class.class_method_signature: ModelImpl.getRepoContributors(String owner, String name)
focal_class.full_signature: @Override public Observable<List<ContributorDTO>> getRepoContributors(String owner, String name)
focal_class.identifier: getRepoContributors
focal_class.modifiers: @Override public
focal_class.parameters: (String owner, String name)
focal_class.return: Observable<List<ContributorDTO>>
focal_class.signature: Observable<List<ContributorDTO>> getRepoContributors(String owner, String name)
focal_class.class_method_signature: ModelImpl.applySchedulers()
focal_class.full_signature: @SuppressWarnings("unchecked") private Observable.Transformer<T, T> applySchedulers()
focal_class.identifier: applySchedulers
focal_class.modifiers: @SuppressWarnings("unchecked") private
focal_class.parameters: ()
focal_class.return: Observable.Transformer<T, T>
focal_class.signature: Observable.Transformer<T, T> applySchedulers()
focal_method.body: @Override
      public Observable<List<ContributorDTO>> getRepoContributors(String owner, String name) {
          return apiInterface
                  .getContributors(owner, name)
                  .compose(applySchedulers());
      }
focal_method.class_method_signature: ModelImpl.getRepoContributors(String owner, String name)
focal_method.full_signature: @Override public Observable<List<ContributorDTO>> getRepoContributors(String owner, String name)
focal_method.identifier: getRepoContributors
focal_method.invocations: compose getContributors applySchedulers
focal_method.modifiers: @Override public
focal_method.parameters: (String owner, String name)
focal_method.return: Observable<List<ContributorDTO>>
focal_method.signature: Observable<List<ContributorDTO>> getRepoContributors(String owner, String name)