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