@Test
  public void testColocation_WithFPROnChildRegion() {
    vm0.invoke(() -> {
      createCache();

      new RegionBuilder<>()
          .addFixedPartitionAttributes(createFixedPartition("Customer100", true, 2))
          .redundantCopies(0)
          .localMaxMemory(40)
          .totalNumBuckets(8)
          .create(CUSTOMERS_REGION);

      Throwable thrown = catchThrowable(() -> new RegionBuilder<>()
          .addFixedPartitionAttributes(createFixedPartition("Order100", true, 2))
          .redundantCopies(0)
          .localMaxMemory(40)
          .totalNumBuckets(8)
          .colocatedWith(CUSTOMERS_REGION)
          .create(ORDERS_REGION));

      assertThat(thrown)
          .isInstanceOf(IllegalStateException.class)
          .hasMessageContaining(
              "not be specified in PartitionAttributesFactory if colocated-with is specified");
    });
  }
Validates that in colocation of FPRs child region cannot specify FixedPartitionAttributes
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/fixed/FixedPartitioningWithColocationAndPersistenceDUnitTest.java