@Config(sdk = 26)
@Test
public void testAdjustMultiKeyResponseDataV26() {

  // Everything but the keys should be removed. Within each key only the k, kid and kty parameters
  // should remain. Any "-" and "_" characters in the k and kid values should be replaced with "+"
  // and "/".
  byte[] expected =
      Util.getUtf8Bytes(
          "{"
              + "\"keys\":["
              + "{"
              + "\"k\":\"abc/def+\",\"kid\":\"ab/cde+f\",\"kty\":\"oct\""
              + "},{"
              + "\"k\":\"ghi/jkl+\",\"kid\":\"gh/ijk+l\",\"kty\":\"oct\""
              + "}"
              + "]"
              + "}");
  assertThat(ClearKeyUtil.adjustResponseData(MULTI_KEY_RESPONSE)).isEqualTo(expected);
}