@Test
public void testWriteEscaped() throws IOException {

	Assert.assertEquals(
		"\"\\{\"", ConfigurationHandler.write(StringPool.OPEN_CURLY_BRACE));
	Assert.assertEquals(
		"\"\\\\\"", ConfigurationHandler.write(StringPool.BACK_SLASH));
	Assert.assertEquals(
		"\"\\=\"", ConfigurationHandler.write(StringPool.EQUAL));
	Assert.assertEquals(
		"\"\\\"\"", ConfigurationHandler.write(StringPool.QUOTE));
	Assert.assertEquals(
		"\"\\ \"", ConfigurationHandler.write(StringPool.SPACE));
	Assert.assertEquals(
		"\"\\}\"",
		ConfigurationHandler.write(StringPool.CLOSE_CURLY_BRACE));
	Assert.assertEquals("\"\\b\"", ConfigurationHandler.write("\b"));
	Assert.assertEquals(
		"\"\\t\"", ConfigurationHandler.write(StringPool.TAB));
	Assert.assertEquals(
		"\"\\n\"", ConfigurationHandler.write(StringPool.NEW_LINE));
	Assert.assertEquals("\"\\f\"", ConfigurationHandler.write("\f"));
	Assert.assertEquals(
		"\"\\r\"", ConfigurationHandler.write(StringPool.RETURN));
	char c = CharPool.SPACE - 1;
	Assert.assertEquals("C\"\\u001f\"", ConfigurationHandler.write(c));
}