@Test(dependsOnMethods = "testGetVirtualGuest")
public void testSetTagsOnVirtualGuest() throws Exception {
ImmutableSet<String> tags = ImmutableSet.of("test", "jclouds");
assertTrue(virtualGuestApi.setTags(virtualGuest.getId(), tags));
VirtualGuest found = virtualGuestApi.getVirtualGuest(virtualGuest.getId());
Set<TagReference> tagReferences = found.getTagReferences();
assertNotNull(tagReferences);
for (String tag : tags) {
Iterables.contains(tagReferences, tag);
}
}