@Test
public void testShouldLogMember() {

    assertThat(XLogUtils.shouldLogMember(null, getMember(XLogMethod.class, "get")), is(false));
    assertThat(XLogUtils.shouldLogMember(XLOG_METHODS, null), is(false));
    assertThat(XLogUtils.shouldLogMember(XLOG_METHODS, getMember(MethodToLog.class, "get")),
            is(true));
    assertThat(XLogUtils.shouldLogMember(XLOG_METHODS, getMember(Object.class, "toString")),
            is(false));
    assertThat(XLogUtils.shouldLogMember(XLOG_METHODS, getMember(Object.class, "getClass")),
            is(true));
}