@Test
 public void testServiceOptionsInitialization() {
   // Factory capability is implicitly added as part of the factory constructor.
   EnumSet<Service.ServiceOption> expected =
       EnumSet.of(
           Service.ServiceOption.INSTRUMENTATION,
           Service.ServiceOption.REPLICATION,
           Service.ServiceOption.FACTORY,
           Service.ServiceOption.CONCURRENT_GET_HANDLING,
           Service.ServiceOption.CONCURRENT_UPDATE_HANDLING);
   assertThat(factory.getOptions(), is(expected));
   assertThat(
       factory.getPeerNodeSelectorPath(),
       is(equalTo(ServiceUriPaths.DEFAULT_CLOUD_STORE_NODE_SELECTOR)));
 }
 @Test
 public void testCreateServiceInstance() throws Throwable {
   Service service = factory.createServiceInstance();
   assertThat(service, is(notNullValue()));
   assertThat(service, instanceOf(AvailabilityZoneService.class));
 }