@Ignore
  @Test
  public void createRegionFromTemplateWithGatewaySender() throws Exception {
    String regionName = testName.getMethodName();
    String sender = "sender1";
    String remoteDS = "2";
    IgnoredException.addIgnoredException("could not get remote locator information");

    gfsh.executeAndAssertThat("create gateway-sender"
        + " --id=" + sender
        + " --remote-distributed-system-id=" + remoteDS)
        .statusIsSuccess()
        .doesNotContainOutput("Did not complete waiting");

    gfsh.executeAndAssertThat("create region"
        + " --name=" + regionName
        + " --type=REPLICATE_PERSISTENT"
        + " --gateway-sender-id=" + sender).statusIsSuccess();

    String regionNameFromTemplate = regionName + "-from-template";
    gfsh.executeAndAssertThat("create region --name=" + regionNameFromTemplate
        + " --template-region=" + regionName)
        .statusIsSuccess();

    server1.invoke(() -> {
      Region region1 = ClusterStartupRule.getCache().getRegion(regionNameFromTemplate);
      assertThat(region1.getAttributes().getGatewaySenderIds())
          .describedAs("region1 contains gateway sender")
          .contains(sender);

      Region region2 = ClusterStartupRule.getCache().getRegion(regionNameFromTemplate);
      assertThat(region2.getAttributes().getGatewaySenderIds())
          .describedAs("region2 contains gateway sender")
          .contains(sender);
    });
  }
Ignored this test until we refactor the FetchRegionAttributesFunction to not use
AttributesFactory, and instead use RegionConfig, which we will do as part of implementing
GEODE-6104
geode-wan/src/distributedTest/java/org/apache/geode/management/internal/cli/commands/CreateRegionCommandDUnitTest.java