/**
   * @see <a href="https://jira.spring.io/browse/DATACASS-226">DATACASS-226</a>
   * @throws Exception
   */
  @Test
  public void shouldSetPoolingOptions() throws Exception {

    PoolingOptions poolingOptions = new PoolingOptions();

    CassandraCqlClusterFactoryBean bean = new CassandraCqlClusterFactoryBean();
    bean.setPoolingOptions(poolingOptions);
    bean.afterPropertiesSet();

    assertThat(getConfiguration(bean).getPoolingOptions()).isEqualTo(poolingOptions);
  }