package org.jbake.render.support;

import org.apache.commons.configuration.CompositeConfiguration;

public class MockCompositeConfiguration extends CompositeConfiguration {

    private boolean _bool = false;
    private String _string = "random string";

    public MockCompositeConfiguration withInnerBoolean(boolean bool) {
        _bool = bool;
        return this;
    }

    public MockCompositeConfiguration withInnerString(String string) {
        _string = string;
        return this;
    }

    @Override
    public boolean getBoolean(String key) {
        return _bool;
    }

    @Override
    public String getString(String string) {
        return _string;
    }
}
@@ -205,54 +205,8 @@
 lse;
-%0A    private String _string = %22random string%22;
 %0A%0A  
@@ -328,133 +328,8 @@
  %7D%0A%0A
-    public MockCompositeConfiguration withInnerString(String string) %7B%0A        _string = string;%0A        return this;%0A    %7D%0A%0A
     
@@ -489,15 +489,23 @@
 urn 
-_
+%22random 
 string
+%22
 ;%0A  

Remove unreachable code