@Test
public void testGetPkgPrefixesForCoarseMatch6() {

    List<String> expected = new ArrayList<String>();
    expected.add("com.promegu");
    expected.add("java.lang");
    expected.add("retrofit");
    assertThat(XLogUtils.getPkgPrefixesForCoarseMatchXLogMethods(XLOG_METHODS, 2), is(expected));
    expected.clear();
    expected.add("com.promegu.xlog");
    expected.add("com.promegu.other");
    expected.add("java.lang.Object");
    expected.add("java.lang.test");
    expected.add("retrofit");
    //CHECKSTYLE:OFF
    assertThat(XLogUtils.getPkgPrefixesForCoarseMatchXLogMethods(XLOG_METHODS, 3), is(expected));
    //CHECKSTYLE:ON
}