public void testCanMarshalInfinispanConfigurationToXml() throws Exception {
InfinispanConfiguration configuration = newInfinispanConfiguration(
getClass().getResourceAsStream("/configs/named-cache-test.xml"));
configuration.parseGlobalConfiguration().fluent().transport().clusterName("MyCluster");
assertXmlStringContains(configuration.toXmlString(), "clusterName=\"MyCluster\"");
}
@Test
public void testCanMarshalGlobalConfigurationToXml() throws Exception {
GlobalConfiguration configuration = new GlobalConfiguration();