Package ch.qos.logback.classic.net.mock

Examples of ch.qos.logback.classic.net.mock.MockQueueSender


    appender.start();

    ILoggingEvent le = createLoggingEvent();
    appender.append(le);
   
    MockQueueSender qs = (MockQueueSender)appender.queueSender;
    assertEquals(1, qs.getMessageList().size());
    ObjectMessage message = (ObjectMessage) qs.getMessageList().get(0);
    try {
      Serializable witness = pst.transform(le);
      assertEquals(witness, message.getObject());
    } catch (Exception e) {
      fail();
View Full Code Here

TOP

Related Classes of ch.qos.logback.classic.net.mock.MockQueueSender

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.