@Test
public void doesNotSetSeparatorBackToDefaultRootValueSeparator() {

    // given
    SingleThreadJsonFactory factory = new SingleThreadJsonFactory();
    factory.setRootValueSeparator("#");
    assertEquals("#", factory.getRootValueSeparator());
    // when
    factory.setRootValueSeparator(JsonFactory.DEFAULT_ROOT_VALUE_SEPARATOR.getValue());
    // then
    assertEquals("#", factory.getRootValueSeparator());
}