@@ -0,0 +1,818 @@
+package com.librato.metrics;%0A%0Aimport junit.framework.TestCase;%0A%0Aimport static org.hamcrest.CoreMatchers.equalTo;%0Aimport static org.junit.Assert.assertThat;%0A%0Apublic class SanitizerTest extends TestCase %7B%0A%0A    public void testRemovesIllegalCharacters() throws Exception %7B%0A        assertThat(Sanitizer.LAST_PASS.apply(%22foo##bar%22), equalTo(%22foobar%22));%0A    %7D%0A%0A    public void testLastPassAllowsDashes() throws Exception %7B%0A        assertThat(Sanitizer.LAST_PASS.apply(%22my-metric-name%22), equalTo(%22my-metric-name%22));%0A    %7D%0A%0A    public void testDotsOk() throws Exception %7B%0A        assertThat(Sanitizer.LAST_PASS.apply(%22my.metric.name%22), equalTo(%22my.metric.name%22));%0A    %7D%0A%0A    public void testUnderscoresOk() throws Exception %7B%0A        assertThat(Sanitizer.LAST_PASS.apply(%22my_metric_name%22), equalTo(%22my_metric_name%22));%0A    %7D%0A%7D%0A

Add basic sanitizer tests