@Test
public void testSaveHostAttributes() throws Exception {
final String host = "hostname";
final Set<Attribute> attributes =
ImmutableSet.of(new Attribute().setName("attr").setValues(ImmutableSet.of("value")));
final Optional<IHostAttributes> hostAttributes = Optional.of(
IHostAttributes.build(new HostAttributes()
.setHost(host)
.setAttributes(attributes)));