  @Test(expected = IllegalArgumentException.class)
  public void testEndpoint7() throws MinioException {

    MinioClient.builder().endpoint("https://s3.amazonaws.com.cn").build();
    Assert.fail("exception should be thrown");
  }