public static TestingUri getTestingURI(String uri) {
    try {
      return TestingUri.valueOf(uri);
    } catch (IllegalArgumentException e) {
      return TestingUri.Unknown;
    }
  }
Converts the uri specified by the input string into a {@link TestingUri}.
@param uri the TestingUri as a string.
@return the uri requested as a valid {@link TestingUri} if uri is known, otherwise returns {@link #Unknown}
ambry-rest/src/test/java/com/github/ambry/rest/NettyResponseChannelTest.java