@Test
public void testReplaceInvalidChars() {

	assertEquals("", JMXReporter.replaceInvalidChars(""));
	assertEquals("abc", JMXReporter.replaceInvalidChars("abc"));
	assertEquals("abc", JMXReporter.replaceInvalidChars("abc\""));
	assertEquals("abc", JMXReporter.replaceInvalidChars("\"abc"));
	assertEquals("abc", JMXReporter.replaceInvalidChars("\"abc\""));
	assertEquals("abc", JMXReporter.replaceInvalidChars("\"a\"b\"c\""));
	assertEquals("", JMXReporter.replaceInvalidChars("\"\"\"\""));
	assertEquals("____", JMXReporter.replaceInvalidChars("    "));
	assertEquals("ab_-(c)-", JMXReporter.replaceInvalidChars("\"ab ;(c)'"));
	assertEquals("a_b_c", JMXReporter.replaceInvalidChars("a b c"));
	assertEquals("a_b_c_", JMXReporter.replaceInvalidChars("a b c "));
	assertEquals("a-b-c-", JMXReporter.replaceInvalidChars("a;b'c*"));
	assertEquals("a------b------c", JMXReporter.replaceInvalidChars("a,=;:?'b,=;:?'c"));
}