@Test
  public void testUseOfCustomLockingFactory() {
    assertNull( CustomLockFactoryProvider.optionValue );
    FullTextSessionBuilder builder = new FullTextSessionBuilder();
    builder
      .addAnnotatedClass( SnowStorm.class )
      .setProperty( "hibernate.search.default.locking_option", "somethingHere" )
      .setProperty( "hibernate.search.default.locking_strategy",
          "org.hibernate.search.test.directoryProvider.CustomLockFactoryProvider" )
      .build();