private static void ValidateResource(TrackedResource resource)
 {
     Assert.NotNull(resource);
     Assert.NotNull(resource.Id);
     Assert.NotNull(resource.Name);
     Assert.NotNull(resource.Type);
     Assert.NotNull(resource.Location);
 }
 public static void ValidateResourceDefaultTags(TrackedResource resource)
 {
     ValidateResource(resource);
     Assert.NotNull(resource.Tags);
     Assert.Equal(2, resource.Tags.Count);
     Assert.Equal("value1", resource.Tags["key1"]);
     Assert.Equal("value2", resource.Tags["key2"]);
 }
 public static void ValidateResourceDefaultNewTags(TrackedResource resource)
 {
     ValidateResource(resource);
     Assert.NotNull(resource.Tags);
     Assert.Equal(3, resource.Tags.Count);
     Assert.Equal("value2", resource.Tags["key2"]);
     Assert.Equal("value3", resource.Tags["key3"]);
     Assert.Equal("value4", resource.Tags["key4"]);
 }