This is only used in testGetConfigFE() so it's best to place the code there. This static method is not the best way because it creates a shared object that can be modified by all tests and errors are then hard to trace. Nevertheless, sometimes it's the only option :-)