List theServers = CruisecontrolServerManager.getServers( "test-files/server_config.xml" );
assertTrue( "No servers found", theServers.size() == 1 );
CruisecontrolServer theServer = (CruisecontrolServer) theServers.iterator().next();
Element theProjectElement = new Element( "project" );
theProjectElement.setAttribute( "name", "Inventory" );
String theStatus = new ProjectProxy(theServer,theProjectElement).getProjectStatus();
assertTrue( "Bad stautus", theStatus.indexOf( "Unable" ) == -1 );
String theConfigContents = theServer.getConfigFileContents();
assertTrue( "No contents found", theConfigContents.length() > 0 );
theServer.setConfigFileContents( theConfigContents );
}