@Test
  public void addsGatewaySenderId() {
    AttributesFactory factory = new AttributesFactory();
    factory.addGatewaySenderId("someSenderId");
    RegionAttributes regionAttributes = factory.create();
    Set gatewaySenderIds = regionAttributes.getGatewaySenderIds();

    assertTrue(gatewaySenderIds.contains("someSenderId"));
  }
Trivial cache listener impl

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