public String characterEncoding()
    {
        return characterEncoding;
    }
@Test
    void shouldReturnCharacterEncodingWhenSpecifiedNonCharType() throws Exception
    {
        final String testXmlString =
            "<types>" +
            "    <type name=\"testTypeCharacterEncodingNonChar\" primitiveType=\"uint8\" " +
            "characterEncoding=\"  windows-1251\n\r\"/>" +
            "</types>";

        final Map<String, Type> map = parseTestXmlWithMap("/types/type", testXmlString);

        assertThat(
            (((EncodedDataType)map.get("testTypeCharacterEncodingNonChar")).characterEncoding()), is("windows-1251"));
    }