@Test
 public void testMetricsNotAvailable() throws Exception {
   testHome(); // makes sure some requests have been made
   @SuppressWarnings("rawtypes")
   ResponseEntity<Map> entity =
       RestTemplates.get("user", getPassword())
           .getForEntity("http://localhost:8080/metrics", Map.class);
   assertEquals(HttpStatus.NOT_FOUND, entity.getStatusCode());
 }
 @Test
 public void testHome() throws Exception {
   @SuppressWarnings("rawtypes")
   ResponseEntity<Map> entity =
       RestTemplates.get("user", getPassword()).getForEntity("http://*****:*****@SuppressWarnings("unchecked")
   Map<String, Object> body = entity.getBody();
   assertEquals("Hello Phil", body.get("message"));
 }