@Test
public void testLogging() {

    
    String[] script = {"logger.error('Value is: ' + sourceValue); return sourceValue;"};
    
    String original = "TEST";
    
    String result = (String) groovyMerger.mergeObjects(original, script);
    
    assertEquals("Object should remain unchanged.", original, result);
}