@Test
  public void requestControlAdminRequestTest() throws IOException {
    for (RequestOrResponseType requestOrResponseType : RequestOrResponseType.values()) {
      doRequestControlAdminRequestTest(requestOrResponseType, true);
      doRequestControlAdminRequestTest(requestOrResponseType, false);
    }
  }
Tests the ser/de of {@link RequestControlAdminRequest} and checks for equality of fields with reference data.
@throws IOException
ambry-protocol/src/test/java/com/github/ambry/protocol/RequestResponseTest.java