@Test
public void testToPascalCase() throws Exception
{

    assertEquals("FooBarBaz", toPascalCase("foo_bar_baz").toString());
    assertEquals("FooBarBaz", toPascalCase("fooBarBaz").toString());
    assertEquals("FooBarBaz", toPascalCase("FooBarBaz").toString());
    assertEquals("FooBarBaz", toPascalCase("foo_bar_baz").toString());
    assertEquals("FooBarBaz", toPascalCase("____Foo____Bar___Baz____").toString());
}