@Test
  public void digestIncorrectUsageTest() throws NoSuchAlgorithmException, RestServiceException {
    setDigestAfterReadTest();
    setBadAlgorithmTest();
    getDigestWithoutSettingAlgorithmTest();
    getDigestBeforeAllContentProcessedTest();
  }
Tests for incorrect usage of {@link NettyRequest#setDigestAlgorithm(String)} and {@link NettyRequest#getDigest()}.
@throws NoSuchAlgorithmException
@throws RestServiceException
ambry-rest/src/test/java/com/github/ambry/rest/NettyRequestTest.java