@Test
	public void testDeleteGauge() throws Exception {
		when(gaugeRepository.exists("deleteme")).thenReturn(true);
		mockMvc.perform(delete("/metrics/gauges/{name}", "deleteme")).andExpect(status().isOk());
		verify(gaugeRepository).delete("deleteme");
	}
@author Luke Taylor
@author Ilayaperumal Gopinathan
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/rest/metrics/GaugeControllerIntegrationTests.java