test_class.declarator: restTemplate
test_class.modifier: @Mock
      private
test_class.original_string: @Mock
      private RestTemplate restTemplate;
test_class.type: RestTemplate
test_class.var_name: restTemplate
test_class.declarator: converter
test_class.modifier: @Autowired
      @InjectMocks
      private
test_class.original_string: @Autowired
      @InjectMocks
      private PlanetConverter converter;
test_class.type: PlanetConverter
test_class.var_name: converter
test_class.declarator: lukeSkywalker = fromJson("luke-skywalker", PeopleDTO.class)
test_class.modifier: private
test_class.original_string: private PeopleDTO lukeSkywalker = fromJson("luke-skywalker", PeopleDTO.class);
test_class.type: PeopleDTO
test_class.var_name: lukeSkywalker
test_class.declarator: attackOfTheClones = fromJson("attack-of-the-clones", FilmDTO.class)
test_class.modifier: private
test_class.original_string: private FilmDTO attackOfTheClones = fromJson("attack-of-the-clones", FilmDTO.class);
test_class.type: FilmDTO
test_class.var_name: attackOfTheClones
test_class.declarator: tatooine = fromJson("tatooine", Planet.class)
test_class.modifier: private
test_class.original_string: private Planet tatooine = fromJson("tatooine", Planet.class);
test_class.type: Planet
test_class.var_name: tatooine
test_class.file: snapshot-matcher-example/src/test/java/com/zenika/snapshotmatcherexample/starwars/PlanetConverterTest.java
test_class.identifier: PlanetConverterTest
test_case.body: @Test
      public void converterTest() {
          PlanetDTO planet = converter.convertPlanet(tatooine);
  
          assertThat(planet, matchesSnapshot());
      }
test_case.class_method_signature: PlanetConverterTest.converterTest()
test_case.full_signature: @Test public void converterTest()
test_case.identifier: converterTest
test_case.invocations: convertPlanet assertThat matchesSnapshot
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void converterTest()
focal_class.declarator: objectMapper
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private ObjectMapper objectMapper;
focal_class.type: ObjectMapper
focal_class.var_name: objectMapper
focal_class.declarator: restTemplate
focal_class.modifier: @Autowired
      private
focal_class.original_string: @Autowired
      private RestTemplate restTemplate;
focal_class.type: RestTemplate
focal_class.var_name: restTemplate
focal_class.file: snapshot-matcher-example/src/main/java/com/zenika/snapshotmatcherexample/starwars/PlanetConverter.java
focal_class.identifier: PlanetConverter
focal_class.class_method_signature: PlanetConverter.convertPlanet(Planet planet)
focal_class.full_signature: public PlanetDTO convertPlanet(Planet planet)
focal_class.identifier: convertPlanet
focal_class.modifiers: public
focal_class.parameters: (Planet planet)
focal_class.return: PlanetDTO
focal_class.signature: PlanetDTO convertPlanet(Planet planet)
focal_method.body: public PlanetDTO convertPlanet(Planet planet) {
          PlanetDTO dto = objectMapper.convertValue(planet, PlanetDTO.class);
  
          dto.films = planet.filmsUrls.stream()
                  .map(filmUrl -> restTemplate.getForObject(filmUrl, FilmDTO.class))
                  .collect(Collectors.toList());
  
          dto.residents = planet.residentsUrls.stream()
                  .map(filmUrl -> restTemplate.getForObject(filmUrl, PeopleDTO.class))
                  .collect(Collectors.toList());
  
          return dto;
      }
focal_method.class_method_signature: PlanetConverter.convertPlanet(Planet planet)
focal_method.full_signature: public PlanetDTO convertPlanet(Planet planet)
focal_method.identifier: convertPlanet
focal_method.invocations: convertValue collect map stream getForObject toList collect map stream getForObject toList
focal_method.modifiers: public
focal_method.parameters: (Planet planet)
focal_method.return: PlanetDTO
focal_method.signature: PlanetDTO convertPlanet(Planet planet)