@Test
public void convertsSnakeToPascalCase() {

    assertThat(CaseUtils.snakeToPascalCase("foo_bar"), equalTo("FooBar"));
    assertThat(CaseUtils.snakeToPascalCase("Foo_bar"), equalTo("FooBar"));
    assertThat(CaseUtils.snakeToPascalCase("__foo_bar"), equalTo("FooBar"));
}