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