@Test
	public void testFieldValueCounterList() throws Exception {

		//This test disabled for Windows since we can't assume 'tail' is installed.
		org.junit.Assume.assumeFalse(System.getProperty("os.name").toLowerCase().startsWith("windows"));

		TailSource tailSource = newTailSource();
		tailTweets(tailSource);

		FieldValueCounterSink sink = metrics().newFieldValueCounterSink("fromUser");

		stream().create(generateStreamName(), "%s | %s", tailSource, sink);
		assertThat(sink, eventually(exists()));
	}
Tests various metrics related sinks.

@author Eric Bottard
@author Ilayaperumal Gopinathan
@author David Turanski
spring-xd-shell/src/test/java/org/springframework/xd/shell/command/AbstractMetricsTests.java