@Test
	public void testhandler() {
		input.send(new GenericMessage<Long>(10L));
		input.send(new GenericMessage<Long>(20L));
		input.send(new GenericMessage<Long>(24L));

		Gauge gauge = repo.findOne("test");
		assertNotNull(gauge);
		assertEquals(24, gauge.getValue());
		// Included here because the message handler constructor creates the gauge. Don't want to
		// delete it in @After.
		repo.delete("test");
	}
@author David Turanski
@author Luke Taylor
@author Gary Russell
spring-xd-analytics/src/test/java/org/springframework/xd/analytics/metrics/integration/GaugeHandlerTests.java