@Test
  public void testGetAllSupported() throws Exception {
    CacheTransactionManager ctm = cache.getCacheTransactionManager();
    AttributesFactory af = new AttributesFactory();
    Region r = cache.createRegion("dRegion", af.create());
    PartitionAttributes pa =
        new PartitionAttributesFactory().setRedundantCopies(0).setTotalNumBuckets(1).create();
    af.setPartitionAttributes(pa);
    Region pr = cache.createRegion("prRegion", af.create());
    List list = new ArrayList();
    list.add("stuff");
    list.add("stuff2");
    ctm.begin();
    pr.getAll(list);
    r.getAll(list);
    ctm.commit();
    // now we aren't in tx so these shouldn't throw
    pr.getAll(list);
    r.getAll(list);
  }
make sure that we throw an UnsupportedOperationInTransactionException
geode-core/src/integrationTest/java/org/apache/geode/TXJUnitTest.java