@Test
public void testGetClassNameSectionSize() {

    assertThat(XLogUtils.getClassNameSectionSize(""), is(0));
    assertThat(XLogUtils.getClassNameSectionSize(null), is(0));
    assertThat(XLogUtils.getClassNameSectionSize("com"), is(1));
    assertThat(XLogUtils.getClassNameSectionSize("com.promegu"), is(2));
    //CHECKSTYLE:OFF
    assertThat(XLogUtils.getClassNameSectionSize("com.promegu.xlog.base"), is(4));
    //CHECKSTYLE:ON
}