@Test
  public void getAuthorizationFailureTest() throws Exception {
    MockId mockId = put(1, PUT_RECORD_SIZE, Utils.Infinite_Time).get(0);
    short[] accountIds =
        {-1, Utils.getRandomShort(TestUtils.RANDOM), -1, mockId.getAccountId(), Utils.getRandomShort(TestUtils.RANDOM)};
    short[] containerIds = {-1, -1, Utils.getRandomShort(TestUtils.RANDOM), Utils.getRandomShort(TestUtils.RANDOM),
        mockId.getContainerId()};
    for (int i = 0; i < accountIds.length; i++) {
      verifyGetFailure(new MockId(mockId.getID(), accountIds[i], containerIds[i]),
          StoreErrorCodes.AuthorizationFailure);
    }
  }
Test GET with invalid accountId/containerId. Failure is expected.
ambry-store/src/test/java/com/github/ambry/store/BlobStoreTest.java