}
@Test(expectedExceptions = IllegalStateException.class)
public void testFineGrainedAtomicMapNonTransactionWithoutBatchSet() {
ConfigurationBuilder builder = buildConfiguration();
builder.invocationBatching().disable();
builder.transaction().transactionMode(TransactionMode.NON_TRANSACTIONAL);
cacheManager.defineConfiguration("fgahm_no_tx_without_batch", builder.build());
Cache<String, String> fgahmCache = cacheManager.getCache("fgahm_no_tx_without_batch");
FineGrainedAtomicMap<String, String> map = AtomicMapLookup.getFineGrainedAtomicMap(fgahmCache, "key");