96979899100101102103104105106
mockLog.expects(once()).method("warn").with(eq("JUnit")); mockLog.expects(once()).method("warn").with(eq("JUnit"), same(exception)); if(logger.isWarnEnabled()) { logger.warn("JUnit"); logger.warn("JUnit", exception); } } /**
979899100101102103104105106107
mockLog.expects(once()).method("warn").with(eq("JUnit"), same(exception)); if(logger.isWarnEnabled()) { logger.warn("JUnit"); logger.warn("JUnit", exception); } } /** * Test error level.
9596979899100101102103104105