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