@Test
  public void controlRequestFailureTest() throws InterruptedException, IOException {
    // cannot disable admin request
    sendAndVerifyRequestControlRequest(RequestOrResponseType.AdminRequest, false, null, ServerErrorCode.BadRequest);
    // PartitionUnknown is hard to simulate without betraying knowledge of the internals of MockClusterMap.
  }
Tests that {@link AdminRequestOrResponseType#RequestControl} fails when bad input is provided (or when there is
bad internal state).
ambry-server/src/test/java/com/github/ambry/server/AmbryServerRequestsTest.java