@Test
  public void testPRDAckCreationAndQueryingWithInvalidQuery() throws Exception {
    // Creating Accessor node on the VM
    vm0.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRAccessorCreate(REGION_NAME,
        REDUNDANCY, PortfolioData.class));

    // Creating the Datastores Nodes in the VM's
    vm1.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRCreate(REGION_NAME, REDUNDANCY,
        PortfolioData.class));
    vm2.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRCreate(REGION_NAME, REDUNDANCY,
        PortfolioData.class));
    vm3.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRCreate(REGION_NAME, REDUNDANCY,
        PortfolioData.class));

    // Generating portfolio object array to be populated across the PR's & Local Regions
    PortfolioData[] portfolioData =
        createPortfolioData(START_PORTFOLIO_DATA_INDEX, TOTAL_DATA_SIZE);

    // Putting the data into the PR's created
    vm0.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRPuts(REGION_NAME, portfolioData,
        START_KEY, START_KEY + START_KEY_STEP));
    vm1.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRPuts(REGION_NAME, portfolioData,
        START_KEY + START_KEY_STEP, START_KEY + (2 * START_KEY_STEP)));
    vm2.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRPuts(REGION_NAME, portfolioData,
        START_KEY + (2 * START_KEY_STEP), START_KEY + (3 * START_KEY_STEP)));
    vm3.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRPuts(REGION_NAME, portfolioData,
        START_KEY + (3 * START_KEY_STEP), TOTAL_DATA_SIZE));

    // querying the VM for data
    vm0.invoke(prQueryDUnitHelper.getCacheSerializableRunnableForPRInvalidQuery(REGION_NAME));
  }
1. Creates PR regions across with scope = DACK <br>
2. Creates a Local region on one of the VM's <br>
3. Puts in the data in PR region & the Local Region <br>
4. Queries the PR with an Invalid Query Syntax <br>
5. Verifies that there is an QueryInvalidException
geode-core/src/distributedTest/java/org/apache/geode/cache/query/partitioned/PRInvalidQueryDUnitTest.java