public void ValidateUniqueClientIdHeader() { EnvironmentInformation.ResetCounter(); using (CosmosClient client = TestCommon.CreateCosmosClient()) { string firstClientId = this.GetClientIdFromCosmosClient(client); using (CosmosClient innerClient = TestCommon.CreateCosmosClient()) { string secondClientId = this.GetClientIdFromCosmosClient(innerClient); Assert.AreNotEqual(firstClientId, secondClientId); } } }
public void Reset() { EnvironmentInformation.ResetCounter(); }