/**
   * Ensure that a {@link StorageDisabledMember} session can be created against the {@link
   * CoherenceClusterOrchestration}.
   */
  @Test
  public void shouldCreateStorageDisabledMemberSession() {
    ConfigurableCacheFactory session = orchestration.getSessionFor(storageDisabledMember());

    NamedCache cache = session.ensureCache("dist-example", null);

    Eventually.assertThat(orchestration.getCluster().getClusterSize(), is(4));

    cache.put("message", "hello world");

    Eventually.assertThat(
        invoking(orchestration.getCluster().getCache("dist-example")).get("message"),
        is((Object) "hello world"));
  }
  /**
   * Ensure that a {@link ExtendClient} session can be created against the {@link
   * CoherenceClusterOrchestration}.
   */
  @Test
  public void shouldCreateExtendClientSession() {
    ConfigurableCacheFactory session =
        orchestration.getSessionFor(extendClient("proxy-cache-config.xml"));

    NamedCache cache = session.ensureCache("dist-example", null);

    Assert.assertThat(orchestration.getCluster().getClusterSize(), is(3));

    cache.put("message", "hello world");

    Eventually.assertThat(
        invoking(orchestration.getCluster().getCache("dist-example")).get("message"),
        is((Object) "hello world"));
  }