我正在编写一个JUnit测试用例,用于获取Line和Branch覆盖率的方法。被测方法调用另一个类型为Boolean的方法,我无法涵盖该部分,因为在Cobertura报告中,以下行显示为红色。if(getLoggingHandler().isGeneralDebugEnabled())待测方法:publicvoidlogMethodEndDebug(ILoggablel,Stringc,Stringm,Stringmsg,Object...args){if(getLoggingHandler().isGeneralDebugEnabled()){Stringcf=ComponentUt