@Test
  public void addsAsyncEventQueueId() {
    AttributesFactory factory = new AttributesFactory();
    factory.addAsyncEventQueueId("someId");
    RegionAttributes regionAttributes = factory.create();
    Set asyncEventQueueIds = regionAttributes.getAsyncEventQueueIds();

    assertTrue(asyncEventQueueIds.contains("someId"));
  }
Trivial cache listener impl

@since GemFire 5.0
geode-core/src/test/java/org/apache/geode/cache/AttributesFactoryJUnitTest.java