mockLog.expects(once()).method("fatal").with(eq("JUnit"), same(exception));
if(logger.isFatalErrorEnabled())
{
logger.fatalError("JUnit");
logger.fatalError("JUnit", exception);
}
}
/**
* Test creation of a child logger. Nees <tt>simplelog.properties</tt> as resource.