public void Exists_Test() { var tenantId = Guid.NewGuid(); using (_currentTenant.Change(tenantId)) { var bu = _calculator.Calculate(GetArgs("my-container", "my-blob")); var containerName = "wei"; var blobName = "123"; var tt = new BlobProviderExistsArgs( containerName, new BlobContainerConfiguration().UseTencentCloudCos(cos => { cos.AppId = ""; cos.SecretId = ""; cos.SecretKey = ""; cos.ContainerName = "wei"; cos.Region = EnumUtils.GetValue(CosRegion.AP_Guangzhou); }), blobName ); var result = _blob.ExistsAsync(tt).GetAwaiter().GetResult();; Assert.False(result); } }