@Test
void generate() {

    Class<CollectionHelper> cls = CollectionHelper.class;
    CollectionHelper helper = new CollectionHelper(null);
    helper.setSnakeCase(false);
    helper.setLowerCase(false);
    assertFalse(helper.isSnakeCase());
    assertFalse(helper.isLowerCase());
    assertEquals("CollectionHelper", helper.generate(cls));
    helper.setLowerCase(true);
    assertTrue(helper.isLowerCase());
    assertEquals("collectionhelper", helper.generate(cls));
    helper.setSnakeCase(true);
    assertTrue(helper.isSnakeCase());
    assertEquals("collection_helper", helper.generate(cls));
    helper.setLowerCase(false);
    assertFalse(helper.isLowerCase());
    assertEquals("Collection_Helper", helper.generate(cls));
}