@Test
void testReferenceStreamType() {

    final String original = "<reference><streamType><type>StreamType</type><path>Reference</path></streamType></reference>";
    final String expected = "<reference><streamType>Reference</streamType></reference>";
    final String actual = new Replacer().replaceEntityReferences(null, original);
    assertThat(actual).isEqualTo(expected);
}