func BaseTest(t *testing.T, getCollector getCollectorFn, checkResult func(t *testing.T, samples []stats.SampleContainer, expectedOutput, output string), )
BaseTest is a helper function to test statsd/datadog collector