@Override
      public void run2() throws CacheException {
        Region r = getRootRegion("ProxyDUnitTest");
        AttributesMutator am = r.getAttributesMutator();
        CacheWriter cw = new CacheWriterAdapter() {
          @Override
          public void beforeCreate(EntryEvent event) throws CacheWriterException {
            throw new CacheWriterException("expected");
          }
        };
        am.setCacheWriter(cw);
      }
check distributed ops that originate in a PROXY are correctly distributed to non-proxy regions.
geode-core/src/distributedTest/java/org/apache/geode/cache30/ProxyDUnitTest.java