CacheConfig { public CacheTransactionManagerType getCacheTransactionManager() { return cacheTransactionManager; } CacheConfig();  CacheConfig(String version); CacheTransactionManagerType getCacheTransactionManager(); void setCacheTransactionManager(CacheTransactionManagerType value); DynamicRegionFactoryType getDynamicRegionFactory(); void setDynamicRegionFactory(DynamicRegionFactoryType value); List<GatewayHub> getGatewayHubs(); List<GatewaySender> getGatewaySenders(); GatewayReceiverConfig getGatewayReceiver(); void setGatewayReceiver(GatewayReceiverConfig value); DeclarableType getGatewayConflictResolver(); void setGatewayConflictResolver(DeclarableType value); List<AsyncEventQueue> getAsyncEventQueues(); List<CacheServer> getCacheServers(); List<PoolType> getPools(); List<DiskStoreType> getDiskStores(); PdxType getPdx(); void setPdx(PdxType value); List<RegionAttributesType> getRegionAttributes(); List<JndiBindingsType.JndiBinding> getJndiBindings(); List<RegionConfig> getRegions(); FunctionServiceType getFunctionService(); void setFunctionService(FunctionServiceType value); ResourceManagerType getResourceManager(); void setResourceManager(ResourceManagerType value); SerializationRegistrationType getSerializationRegistration(); void setSerializationRegistration(SerializationRegistrationType value); List<String> getBackups(); DeclarableType getInitializer(); void setInitializer(DeclarableType value); List<CacheElement> getCustomCacheElements(); Boolean isCopyOnRead(); void setCopyOnRead(Boolean value); Boolean isIsServer(); void setIsServer(Boolean value); String getLockTimeout(); void setLockTimeout(String value); String getLockLease(); void setLockLease(String value); String getMessageSyncInterval(); void setMessageSyncInterval(String value); String getSearchTimeout(); void setSearchTimeout(String value); String getVersion(); void setVersion(String value); RegionConfig findRegionConfiguration(String regionPath); List<T> findCustomCacheElements(Class<T> classT); T findCustomCacheElement(String elementId, Class<T> classT); List<T> findCustomRegionElements(String regionPath,
      Class<T> classT); T findCustomRegionElement(String regionPath, String elementId,
      Class<T> classT); @Deprecated
  static final String SEPARATOR; }
@Test public void cacheTransactionManager() { String xml = cacheXml + "<cache-transaction-manager>" + "<transaction-listener>" + declarableWithStringXml + "</transaction-listener>" + "<transaction-writer>" + declarableWithStringXml + "</transaction-writer>" + "</cache-transaction-manager></cache>"; cacheConfig = service.unMarshall(xml); assertThat(cacheConfig.getCacheTransactionManager().getTransactionWriter()) .isEqualTo(declarableWithString); assertThat(cacheConfig.getCacheTransactionManager().getTransactionListeners().get(0)) .isEqualTo(declarableWithString); }