protected File getConfigurationFile() {
try {
ClientConfig config = new ClientConfig();
config.setMode("client");
config.addDomain(new Domain("cat").setMaxMessageSize(8));
config.addServer(new Server("localhost"));
File file = new File("target/cat-config.xml");
Files.forIO().writeTo(file, config.toString());