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_app_speaker_to_db_speaker() {
          // Given
          Speaker speaker = new Speaker(10, "name", "title", "bio", "website", "twitter", "github", "photo");
  
          // When
          com.nilhcem.mobilization.data.database.model.Speaker result = dbMapper.fromAppSpeaker(speaker);
  
          // Then
          assertThat(result.id).isEqualTo(10);
          assertThat(result.name).isEqualTo("name");
          assertThat(result.title).isEqualTo("title");
          assertThat(result.bio).isEqualTo("bio");
          assertThat(result.website).isEqualTo("website");
          assertThat(result.twitter).isEqualTo("twitter");
          assertThat(result.github).isEqualTo("github");
          assertThat(result.photo).isEqualTo("photo");
      }
test_case.class_method_signature: DbMapperTest.should_convert_app_speaker_to_db_speaker()
test_case.full_signature: @Test public void should_convert_app_speaker_to_db_speaker()
test_case.identifier: should_convert_app_speaker_to_db_speaker
test_case.invocations: fromAppSpeaker isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat isEqualTo assertThat
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void should_convert_app_speaker_to_db_speaker()
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 Speaker fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from) {
          if (from == null) {
              return null;
          }
  
          return new Speaker(from.getId(), from.getName(), from.getTitle(), from.getBio(),
                  from.getWebsite(), from.getTwitter(), from.getGithub(), from.getPhoto());
      }
focal_method.class_method_signature: DbMapper.fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_method.full_signature: public Speaker fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_method.identifier: fromAppSpeaker
focal_method.invocations: getId getName getTitle getBio getWebsite getTwitter getGithub getPhoto
focal_method.modifiers: public
focal_method.parameters: (@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)
focal_method.return: Speaker
focal_method.signature: Speaker fromAppSpeaker(@Nullable com.nilhcem.mobilization.data.app.model.Speaker from)