StarWarsService { public PlanetDTO getPlanet(Long id){ return planetConverter.convertPlanet(restTemplate.getForObject(endpoint + id, Planet.class)); }  PlanetDTO getPlanet(Long id);  }
@Test public void getPlanetTest() { PlanetDTO planet = service.getPlanet(1L); assertThat(planet, matchesSnapshot()); }