public void testNoNormalizer() {
    // don't set locale or normalizer; expect non-null normalizer
    final Properties properties = new Properties();

    final DefaultSplitterFactory splitterFactory = new DefaultSplitterFactory(properties);
    assertNotNull(splitterFactory.getNormalizer());
  }
  public void testOnlyNormalizer() {
    // don't set locale; do set normalizer not acceptor; expect normalizer and (null) acceptor.
    final Properties properties = new Properties();
    properties.setProperty("normalizer", "org.sd.nlp.GeneralNormalizer:getCaseInsensitiveInstance");

    final DefaultSplitterFactory splitterFactory = new DefaultSplitterFactory(properties);
    assertEquals(GeneralNormalizer.getCaseInsensitiveInstance(), splitterFactory.getNormalizer());
  }