* specified as {@link XLevel#TRACE}.
*/
public void testToLevel() {
assertSame("XLevel.TRACE is returned if null name is passed", XLevel.toLevel(null), XLevel.TRACE);
assertSame("XLevel.TRACE is returned if the name is equal to \"TRACE\" irrespective of case", XLevel.toLevel("trAce"), XLevel.TRACE);
Level levelResults = Level.toLevel("MOCK", XLevel.TRACE);
Level xLevelResults = XLevel.toLevel("MOCK");
assertSame("In all other cases conversion is deferred to Level", xLevelResults, levelResults);
assertSame("If conversion fails XLevel.TRACE is returned", xLevelResults, XLevel.TRACE);
}