test_class.declarator: dbMapper
test_class.modifier: private
test_class.original_string: private DbMapper dbMapper;
test_class.type: DbMapper
test_class.var_name: dbMapper
test_class.declarator: moshi = new Moshi.Builder().build()
test_class.modifier: private final
test_class.original_string: private final Moshi moshi = new Moshi.Builder().build();
test_class.type: Moshi
test_class.var_name: moshi
test_class.declarator: appMapper = new AppMapper()
test_class.modifier: private final
test_class.original_string: private final AppMapper appMapper = new AppMapper();
test_class.type: AppMapper
test_class.var_name: appMapper
test_class.declarator: now = LocalDateTime.now()
test_class.modifier: private final
test_class.original_string: private final LocalDateTime now = LocalDateTime.now();
test_class.type: LocalDateTime
test_class.var_name: now
test_class.declarator: adapter
test_class.modifier: @Mock
test_class.original_string: @Mock LocalDateTimeAdapter adapter;
test_class.type: LocalDateTimeAdapter
test_class.var_name: adapter
test_class.file: app/src/test/java/com/nilhcem/mobilization/data/database/DbMapperTest.java
test_class.identifier: DbMapperTest
test_case.body: @Test
      public void should_convert_db_speakers_to_app_speakers() {
          // Given
          com.nilhcem.mobilization.data.database.model.Speaker speaker = new com.nilhcem.mobilization.data.database.model.Speaker(58, "nilh", "dev", "bio", "nilhcem.com", "Nilhcem", "nilhcem", "photo");
  
          // When
          List<Speaker> result = dbMapper.toAppSpeakers(singletonList(speaker));
  
          // Then
          assertThat(result).hasSize(1);
          assertThat(result.get(0).getId()).isEqualTo(58);
          assertThat(result.get(0).getName()).isEqualTo("nilh");
          assertThat(result.get(0).getTitle()).isEqualTo("dev");
          assertThat(result.get(0).getBio()).isEqualTo("bio");
          assertThat(result.get(0).getWebsite()).isEqualTo("nilhcem.com");
          assertThat(result.get(0).getTwitter()).isEqualTo("Nilhcem");
          assertThat(result.get(0).getGithub()).isEqualTo("nilhcem");
          assertThat(result.get(0).getPhoto()).isEqualTo("photo");
      }
test_case.class_method_signature: DbMapperTest.should_convert_db_speakers_to_app_speakers()
test_case.full_signature: @Test public void should_convert_db_speakers_to_app_speakers()
test_case.identifier: should_convert_db_speakers_to_app_speakers
test_case.invocations: toAppSpeakers singletonList hasSize assertThat isEqualTo assertThat getId get isEqualTo assertThat getName get isEqualTo assertThat getTitle get isEqualTo assertThat getBio get isEqualTo assertThat getWebsite get isEqualTo assertThat getTwitter get isEqualTo assertThat getGithub get isEqualTo assertThat getPhoto get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_convert_db_speakers_to_app_speakers()
focal_class.declarator: appMapper
focal_class.modifier: private final
focal_class.original_string: private final AppMapper appMapper;
focal_class.type: AppMapper
focal_class.var_name: appMapper
focal_class.declarator: localDateTimeAdapter
focal_class.modifier: private final
focal_class.original_string: private final LocalDateTimeAdapter localDateTimeAdapter;
focal_class.type: LocalDateTimeAdapter
focal_class.var_name: localDateTimeAdapter
focal_class.declarator: intListAdapter
focal_class.modifier: private final
focal_class.original_string: private final JsonAdapter<List<Integer>> intListAdapter;
focal_class.type: JsonAdapter<List<Integer>>
focal_class.var_name: intListAdapter
focal_class.file: app/src/main/java/com/nilhcem/mobilization/data/database/DbMapper.java
focal_class.identifier: DbMapper
focal_class.class_method_signature: DbMapper.DbMapper(Moshi moshi, AppMapper appMapper, LocalDateTimeAdapter localDateTimeAdapter)
focal_class.full_signature: @Inject public  DbMapper(Moshi moshi, AppMapper appMapper, LocalDateTimeAdapter localDateTimeAdapter)
focal_class.identifier: DbMapper
focal_class.modifiers: @Inject public
focal_class.parameters: (Moshi moshi, AppMapper appMapper, LocalDateTimeAdapter localDateTimeAdapter)
focal_class.signature:  DbMapper(Moshi moshi, AppMapper appMapper, LocalDateTimeAdapter localDateTimeAdapter)
focal_class.class_method_signature: DbMapper.toAppSessions(@NonNull List<Session> from, @NonNull Map<Integer, com.nilhcem.mobilization.data.app.model.Speaker> speakersMap)
focal_class.full_signature: public List<com.nilhcem.mobilization.data.app.model.Session> toAppSessions(@NonNull List<Session> from, @NonNull Map<Integer, com.nilhcem.mobilization.data.app.model.Speaker> speakersMap)
focal_class.identifier: toAppSessions
focal_class.modifiers: public
focal_class.parameters: (@NonNull List<Session> from, @NonNull Map<Integer, com.nilhcem.mobilization.data.app.model.Speaker> speakersMap)
focal_class.return: List<com.nilhcem.mobilization.data.app.model.Session>
focal_class.signature: List<com.nilhcem.mobilization.data.app.model.Session> toAppSessions(@NonNull List<Session> from, @NonNull Map<Integer, com.nilhcem.mobilization.data.app.model.Speaker> speakersMap)
focal_class.class_method_signature: DbMapper.fromAppSession(@Nullable com.nilhcem.mobilization.data.app.model.Session from)
focal_class.full_signature: public Session fromAppSession(@Nullable com.nilhcem.mobilization.data.app.model.Session from)
focal_class.identifier: fromAppSession
focal_class.modifiers: public
focal_class.parameters: (@Nullable com.nilhcem.mobilization.data.app.model.Session from)
focal_class.return: Session
focal_class.signature: Session fromAppSession(@Nullable com.nilhcem.mobilization.data.app.model.Session from)
focal_class.class_method_signature: DbMapper.fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_class.full_signature: public Speaker fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_class.identifier: fromAppSpeaker
focal_class.modifiers: public
focal_class.parameters: (@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_class.return: Speaker
focal_class.signature: Speaker fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_class.class_method_signature: DbMapper.toAppSpeakers(@Nullable List<Speaker> from)
focal_class.full_signature: public List<com.nilhcem.mobilization.data.app.model.Speaker> toAppSpeakers(@Nullable List<Speaker> from)
focal_class.identifier: toAppSpeakers
focal_class.modifiers: public
focal_class.parameters: (@Nullable List<Speaker> from)
focal_class.return: List<com.nilhcem.mobilization.data.app.model.Speaker>
focal_class.signature: List<com.nilhcem.mobilization.data.app.model.Speaker> toAppSpeakers(@Nullable List<Speaker> from)
focal_class.class_method_signature: DbMapper.serialize(@Nullable List<Integer> toSerialize)
focal_class.full_signature: private String serialize(@Nullable List<Integer> toSerialize)
focal_class.identifier: serialize
focal_class.modifiers: private
focal_class.parameters: (@Nullable List<Integer> toSerialize)
focal_class.return: String
focal_class.signature: String serialize(@Nullable List<Integer> toSerialize)
focal_class.class_method_signature: DbMapper.deserialize(@Nullable String toDeserialize)
focal_class.full_signature: private List<Integer> deserialize(@Nullable String toDeserialize)
focal_class.identifier: deserialize
focal_class.modifiers: private
focal_class.parameters: (@Nullable String toDeserialize)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> deserialize(@Nullable String toDeserialize)
focal_method.body: public List<com.nilhcem.mobilization.data.app.model.Speaker> toAppSpeakers(@Nullable List<Speaker> from) {
          if (from == null) {
              return null;
          }
  
          return stream(from).map(speaker -> new com.nilhcem.mobilization.data.app.model.Speaker(speaker.id,
                  speaker.name, speaker.title, speaker.bio, speaker.website, speaker.twitter,
                  speaker.github, speaker.photo)
          ).collect(Collectors.toList());
      }
focal_method.class_method_signature: DbMapper.toAppSpeakers(@Nullable List<Speaker> from)
focal_method.full_signature: public List<com.nilhcem.mobilization.data.app.model.Speaker> toAppSpeakers(@Nullable List<Speaker> from)
focal_method.identifier: toAppSpeakers
focal_method.invocations: collect map stream toList
focal_method.modifiers: public
focal_method.parameters: (@Nullable List<Speaker> from)
focal_method.return: List<com.nilhcem.mobilization.data.app.model.Speaker>
focal_method.signature: List<com.nilhcem.mobilization.data.app.model.Speaker> toAppSpeakers(@Nullable List<Speaker> from)