@Test
void testEntityStreamType() {

    final String original = "<property><element>test</element><name>streamType</name><value><entity><type>StreamType</type><path>Events</path></entity></value></property>";
    final String expected = "<property><element>test</element><name>streamType</name><value><string>Events</string></value></property>";
    final String actual = new Replacer().replaceEntityReferences(null, original);
    assertThat(actual).isEqualTo(expected);
}